dist/angular-promise-buttons.js
function handleLoadingFinished(btnEl) {
          if ((!cfg.minDuration || minDurationTimeoutDone) && promiseDone) {
            if (cfg.btnLoadingClass) {
              btnEl.removeClass(cfg.btnLoadingClass);
            }
            if (cfg.disableBtn && !scope.ngDisabled) {
              btnEl.removeAttr('disabled');
            }
          }
        }
function handleLoadingFinished(btnEl) {
          if ((!cfg.minDuration || minDurationTimeoutDone) && promiseDone) {
            if (cfg.btnLoadingClass) {
              btnEl.removeClass(cfg.btnLoadingClass);
            }
            if (cfg.disableBtn && !scope.ngDisabled) {
              btnEl.removeAttr('disabled');
            }
          }
        }
function handleLoadingFinished ( btnEl ) { if ( ( ! cfg . minDuration || minDurationTimeoutDone ) && promiseDone ) { if ( cfg . btnLoadingClass ) { btnEl . removeClass ( cfg . btnLoadingClass ) ; } if ( cfg . disableBtn && ! scope . ngDisabled ) { btnEl . removeAttr ( 'disabled' ) ; } } }
Handles everything to be triggered when loading is finished
@param {Object}btnEl
Handles everything to be triggered when loading is finished