npm.io
1.1.0 • Published 7 years ago

angular-loading-lbthomsen

Licence
MIT
Version
1.1.0
Deps
2
Size
38 kB
Vulns
10
Weekly
0

Introduction

Provides a service that will place a "loading" spinner at the center of the page and gray out the background.

Depends on font-awesome.

Demo Here

Install

This module can be installed with npm

npm install anagular-loading-lbthomsen --save

Use

  1. Load angular-loading

  2. Inject into your Angular application

    var app = angular.module("app", [ 'angular-loading' ]);

  3. Toggle loading indicator from any controller

    $scope.$emit("setLoading"); $scope.$emit("resetLoading");

Keywords