src/angular-autodisable.js
/**
       * This is called every time a promise is done.
       *
       * Re-enables the element when the last promise is done.
       */
This is called every time a promise is done.
Re-enables the element when the last promise is done.
This is called every time a promise is done . Re - enables the element when the last promise is done .
function promiseDone() {
        promisesTriggered--;
        if (promisesTriggered === 0) {
          enableElement();
        }
      }
function promiseDone ( ) { promisesTriggered -- ; if ( promisesTriggered === 0 ) { enableElement ( ) ; } }
This is called every time a promise is done.
This is called every time a promise is done .