I've found an example of a loading spinner for http/resource calls here on SO:
- Set rootScope variable on httpIntercept (Plunker: http://plnkr.co/edit/32Mh9UOS3Z4vnOtrH9aR?p=preview)
As you can see the implementation works (using AngularJS 1.0.5). However if you change the sources to AngularJS 1.1.5. The example does not work anymore.
I learned that $httpProvider.responseInterceptors
is deprecated in 1.1.5.
Instead one should use $httpProvider.interceptors
Unfortunately just replacing the above string in the Plunker did not solve the problem. Has anyone ever done such a loading spinner using HttpInterceptor in AngularJS 1.1.5?
Thanks for your help!
Michael