-
Notifications
You must be signed in to change notification settings - Fork 68
Home
ajoslin edited this page Apr 29, 2013
·
31 revisions
- Getting Started with angular-promise-tracker
- Creating a promiseTracker
- Loading spinners with
active
method - Tracking a promise through
addPromise
- Tracking a promise through $http config
- Catching events with
on
andoff
- Setting options on your tracker
- Deactivating on demand with
cancel
- Download angular-promise-tracker in one of these ways:
- From bower:
bower install angular-promise-tracker
- Download the js files yourself from https://raw.github.com/ajoslin/angular-promise-tracker/master/promise-tracker.js
- Do some ninja action and make them appear in your folder
-
<script src>
that thang!
<script src="ninjas/promise-tracker.js"></script>
- Add the promise-tracker module as a dependency to your AngularJS app:
angular.module('myApp', ['ajoslin.promise-tracker'])