Install via bower
bower install ng-promise-status
or via npm
npm install ng-promise-status
Add it as a dependency to your app and then use the directive in your HTML files.
For examples and documentation check out the project page.
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
MIT