Skip to content

Angular component that simply counts social shares, likes, tweets ...etc.

License

Notifications You must be signed in to change notification settings

jmperez127/angular-social-count

 
 

Repository files navigation

Build Status Built with Grunt

Angular Social Count

Angular Social Count is a directive that just counts shares, likes, ...etc on social networks.

Demo page

http://bahaaldine.github.io/angular-social-count

Installation

Install depedencies using bower:

bower install angular-social-count

Add js libraries to your application:

	...
	<script src="bower_components/angular-social-count/dist/angular-social-count.js"></script>
    ...

Add ngSocialCount module to you application

	...
	angular
	  .module('myAwesomeApp', [
	    ...
	    'ngSocialCount',
	    ...
	  ])
	...

Usage

Facebook

  ...
  <ng-fb-like-count class="counter" url="{{url}}"></ng-fb-like-count>
  <ng-fb-share-count class="counter" url="{{url}}"></ng-fb-share-count>
  <ng-fb-comment-count class="counter" url="{{url}}"></ng-fb-comment-count>
  ...

Twitter

  ...
  <ng-tw-share-count class="counter" url="{{url}}"></ng-fb-share-count>
  ...

Pinterest

  ...
  <ng-pn-share-count class="counter" url="{{url}}"></ng-fb-share-count>
  ...

Linkedin

  ...
  <ng-ln-share-count class="counter" url="{{url}}"></ng-fb-share-count>
  ...

About

Angular component that simply counts social shares, likes, tweets ...etc.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 64.1%
  • JavaScript 35.9%