Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shekspir55/ngvk

:penguin: Vk.com angular wrapper. Demo-
https://github.com/shekspir55/ngvk

angular bower comments demo ngvk vkontakte

Last synced: about 1 month ago
JSON representation

:penguin: Vk.com angular wrapper. Demo-

Awesome Lists containing this project

README

        

# ngVk [![Bower](https://img.shields.io/badge/bower-MIT-blue.svg)](http://bower.io) [![Ngmodules](https://img.shields.io/badge/ngmodules-package-red.svg)](http://ngmodules.org/modules/ngVk) [![bitHound Overall Score](https://www.bithound.io/github/shekspir55/ngVk/badges/score.svg)](https://www.bithound.io/github/shekspir55/ngVk)

This is simple vk.com angular wrapper. Compatible with [ui.router](https://github.com/angular-ui/ui-router). Looking forward to your ideas on how to improve this plugin, you can write any question in [live chat](https://gitter.im/shekspir55/ngVk ).:penguin:

![ngvk](https://cloud.githubusercontent.com/assets/8617379/13033413/6de59018-d326-11e5-8415-b7d6bc69d590.png)

View [demo](http://shekspir55.github.io/ngVk/) here.

In this version only comments available.

You can install with just cloning this repo or via bower.

`bower install ngVk --save`

You can generate your App id(vkAppId) here https://vk.com/dev/Comments.

```js
//Add 'ngVk' to your module list of dependencies.
var app = angular.module('yourApp', [
'ngVk'
]);
//Add vk.com app id
var yourVkAppId = '42';
app.value('vkAppId', yourVkAppId);

````

```html

```
Then simply put this to your html. Good luck.

# OPTIONS
List of attributes can be used.
* `url` (not required) Input identifier for comment-box, by default it's value refers to page url.