Skip to content

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

License

Notifications You must be signed in to change notification settings

bahaaldine/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 angular-social-count module to you application

	...
	angular
	  .module('myAwesomeApp', [
	    ...
	    'angular-social-count',
	    ...
	  ])
	...

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-tw-share-count>
  ...

Pinterest

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

Linkedin

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •