HTTP Loading Interceptor Module for Angular 1.4+
This will :
- intercept all the requests done in the app
- display a spinner (you have to add the directive's html to your main template)
- make you successful, obviously
You should customize the css by overwriting #httpLoadingSpinner in your app's stylesheet.
Usage
Register this module in your app:
;
var app = angular;
Include the css:
;
Add the directive to your template:
<!-- #httpLoadingSpinner -->