This is simple vk.com angular wrapper. Compatible with ui.router. Looking forward to your ideas on how to improve this plugin, you can write any question in live chat.π§
View demo 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.
//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);
<vk-comments></vk-comments>
Then simply put this to your html. Good luck.
List of attributes can be used.
url
(not required) Input identifier for comment-box, by default it's value refers to page url.