Skip to content

ng2/loading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loading

A drop-in progress 'do something' module for AngularJS

Installation

component install ng2/loading

Then require it in your index.html and add it as a dependency:

require('ng2-loading');
//...
angular.module('myApp',['ng2-loading']);

Usage

It will register itself and hook up an $http interceptor that triggers ng2loading:response and ng2loading:responseError, and ng2loading:request and ng2loading:requestError events for you to hook up to.

By default it includes a loading bar that goes across the page.

A provider to configure different progress widgets is on the way.

Bitdeli Badge

About

http around interceptor to do something on requests and responses

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors