cgross / angular-busy

Show busy/loading indicators on any element during $http requests (or any promise).
http://cgross.github.io/angular-busy/demo
MIT License
1.44k stars 256 forks source link

angular-busy with http interceptors #58

Open svuppala opened 9 years ago

svuppala commented 9 years ago

Hi,

how does this work with $http interceptors?if you could provide some instructions or examples will be great.

Thank you

donnygunawan93 commented 9 years ago

i'm looking for this also ^_^

benoror commented 9 years ago

There aare several ways of placing http interceptors, it depends what suits best your app workflow, there are plenty of resources, in the end it doesn't have anything to do with angular-busy

donnygunawan93 commented 9 years ago

sorry, can u give me an example how to implement this?, i still not understood ^_^

benoror commented 9 years ago

As I said, there are plenty of resources:

https://docs.angularjs.org/api/ng/service/$http#interceptors http://www.webdeveasy.com/interceptors-in-angularjs-and-useful-examples/

jonaszuberbuehler commented 8 years ago

@donnygunawan93 Maybe http://blog.z00bs.com/2015/11/using-angular-busy-to-intercept-all.html is of help for you?