Skip to content

Easily add spinners or general request tracking to your angular app

Notifications You must be signed in to change notification settings

jboadas/angular-promise-tracker

 
 

Repository files navigation

angular-promise-tracker

Eh, what?

So you're building your angular app. And you want a loading spinner.

You've tried the normal solution (or maybe you haven't), and it has problems. It presents a loading spinner on every request!

But you don't want the same global loading spinner whenever any request happens anywhere. That just won't work!

Instead, you want different indicators while different types of request are loading. You want one spinner while you're fetching data having to do with a user's pizza order, one while fetching user's profile data, and maybe another for some random service you have that returns a promise. All these on different parts of the UI. Heck, maybe you don't even want a spinner. You just want to know while http requests of some type are pending.

Well, sigh no more my dear friend, your troubles are over.

Ok, sounds jolly good! How do I get started?

Check out the wiki!

Development

  • Install karma & grunt with npm install -g karma grunt-cli to build & test
  • Install local dependencies with bower install && npm install
  • Run grunt to lint, test, build the code, and build the docs site

License

Public Domain Mark angular-promise-tracker by Andy Joslin is free of known copyright restrictions.

About

Easily add spinners or general request tracking to your angular app

Resources

Stars

Watchers

Forks

Packages

No packages published