Skip to content
This repository has been archived by the owner on Jan 29, 2019. It is now read-only.

Social like-buttons with counters for sites (even ajax sites)

License

Notifications You must be signed in to change notification settings

AnimationMentor/angular-social

 
 

Repository files navigation

This is a fork of Angular Social to support attribute directive syntax on ng-social-* directives.

Angular Social

Code licensed under New BSD License.

Example you can see at this page: http://bazalt-cms.com/ng-table/

Using:

<ul ng-social-buttons
     data-url="'http://news.mistinfo.com/'"
     data-title="'test'"
     data-description="'test2'"
     data-image="'http://s3.mistinfo.com/32/d8/32d8eab76f4c242f665bda66b5edc6c5.jpg'">
    <li>Share:</li>
    <li ng-social-facebook>Facebook</li>
    <li ng-social-twitter>Twitter</li>
</ul>

You can also define a custom url, title, description or image specific to the service:

<ul ng-social-buttons
     data-url="'http://news.mistinfo.com/'"
     data-title="'test'"
     data-description="'test2'"
     data-image="'http://s3.mistinfo.com/32/d8/32d8eab76f4c242f665bda66b5edc6c5.jpg'">
    <li>Share:</li>
    <li ng-social-facebook>Facebook</li>
    <li ng-social-twitter data-title="'Woah check this site!'">Twitter</li>
</ul>
angular.module('main', ['ngSocial'])

About

Social like-buttons with counters for sites (even ajax sites)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 88.7%
  • CoffeeScript 10.8%
  • HTML 0.5%