ng-busy [](https://travis-ci.org/HackedByChinese/ng-busy) ============== An AngularJS module for reacting to when your app is busy. ## About You may wish for a simple way of letting your parts of your UI know the app is doing something. A simple example is a submit button that lets the user know their request is being processed, and for it to be disabled until the request is complete so they don't submit twice. This module can help. You can go [here](http://hackedbychinese.github.io/ng-busy) for a demo. ======== Copyright Mike Grabski @HackedByChinese Licensed under [MIT](http://www.opensource.org/licenses/mit-license.php) ## Requirements * Angular 1.2.0 or later ## What NgBusy Does Check out the Overview in the wiki. ## Getting Started Include `angular-busy.js` after `angular.js`. Bare bones example: angular.module('demo', ['ngBusy']) .controller('DemoCtrl', function($scope, $http) { $scope.submit = function() { // some arbitrary code that triggers an HTTP request $http.post('/path', {message: 'Hello world'}); }; }); In a partial: