ahl

angular-http-loading-interceptor

HTTP Loading Spinner Interceptor Module for AngularJS

Showing:

Popularity

Downloads/wk

1

GitHub Stars

4

Maintenance

Last Commit

6yrs ago

Contributors

2

Package

Dependencies

1

Size (min+gzip)

0.4KB

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

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:

import httpLoadingInterceptor from 'vendor/angular-http-loading-interceptor';
var app = angular.module('app', [ 'HttpLoadingInterceptor' ]);

Include the css:

import 'angular-http-loading-interceptor/spinner.css';

Add the directive to your template:

<!-- #httpLoadingSpinner -->
<div id="httpLoadingSpinner" http-loading-interceptor-spinner></div>

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100