http-ng-loading-bar
v0.2.2
Published
A automatic loading / progress bar for http-ng
Downloads
5
Readme
http-ng-loading-bar
A automatic loading / progress bar for http-ng
Install
npm install http-ng-loading-bar
Dependencies
Usage
import http from 'http-ng';
import loadingbar from 'http-ng-loading-bar';
http.interceptors.push(loadingBar);
http.get('/foo').then(function(res){console.log(res)});
Credit
This library is heavily inspired by angular-loading-bar
License
MIT