Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 742 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 742 Bytes

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