code: function handleLoadingFinished(btnEl) {
            if ((!cfg.minDuration || minDurationTimeoutDone) && promiseDone) {
              if (cfg.btnLoadingClass) {
                btnEl.removeClass(cfg.btnLoadingClass);
              }
              if (cfg.disableBtn && !scope.ngDisabled) {
                btnEl.removeAttr('disabled');
              }
            }
          }
docs: Handles everything to be triggered when loading is finished
  @param {Object}btnEl