Add the AddThis social sharing tool to your site. Its features include:
- automatically imports the AddThis script
- can responds to page changes through the use of watch attribute
View demo.
Installing via bower:
bower install torbensko/angular-addthis
Add the angular module:
sko.addThis
Initalise it with your ID:
addThisProvider.setId('abc');
Add to a page by adding:
<add-this refresh="{{ title }}"></add-this>
The refresh attribute lets it update itself in response to asyncronous changes.
Install
npm install
bower install
Run server
node server.js