angular-disable-inflight
v1.0.1
Published
Angular directive for disabling elements while requests are in flight
Maintainers
Readme
angular-disable-inflight
Installation
Installation is super easy, simply add the dependencies to your angular module, and inject angular-disable-inflight in your angular module.
# use npm
$ npm install angular-disable-inflight --saveAdd angular-disable-inflight to your dependencies
// app.js
angular
.module('yourApp', [
require('angular-disable-inflight')
])// template.html
<button disable-inflight ng-click="..">Submit</button>Thats it! The element will be disabled="disabled" while requests are pending

