Install via bower
bower install --save angular-github-contributions
Install via npm
npm install --save angular-github-contributions
Add it as a dependency to your app :
angular.module("myModule",["np.github-contributions"]);
And use by directive syntax as an element
<github-contributions username="portokallidis"></github-contributions>
Available attributes
- username : a valid github username
Install Gulp via npm if you don't have it
npm install -g gulp
gulp
: build and test the projectgulp build
: build the project and make new files indist
gulp serve
: start a server to serve the demo page and launch a browser then watches for changes insrc
files to reload the pagegulp test
: run testsgulp serve-test
: runs tests and keep test browser open for development. Watches for changes in source and test files to re-run the tests
- add tests
- add more options
MIT