We used angular-busy to show loading indicators on different parts of a web app based on a particular promise of a http request. This is really nice on desktop sized apps but on smaller devices we prefer to show one loader for all API calls. angular-busy doesn't come with a http interceptor to rule all them promises so we used the following one to do the trick. Plnkr can be found here.
So informative. You should author a book on this.ReplyDelete
Angularjs Training | Angularjs Training in Chennai
Clear, clean code - excellent post. I really appreciate that you took the time to post this and the associated Plnkr. It made things much clearer for me! Thanks!!ReplyDelete