dist/angular-promise-buttons.js
function getSubmitBtnChildren(formEl) {
          var submitBtnEls = [];
          var allButtonEls = formEl.find(angularPromiseButtons.config.BTN_SELECTOR);

          for (var i = 0; i < allButtonEls.length; i++) {
            var btnEl = allButtonEls[i];
            if (angular.element(btnEl)
              .attr('type') === 'submit') {
              submitBtnEls.push(btnEl);
            }
          }
          return angular.element(submitBtnEls);
        }
function getSubmitBtnChildren(formEl) {
          var submitBtnEls = [];
          var allButtonEls = formEl.find(angularPromiseButtons.config.BTN_SELECTOR);

          for (var i = 0; i < allButtonEls.length; i++) {
            var btnEl = allButtonEls[i];
            if (angular.element(btnEl)
              .attr('type') === 'submit') {
              submitBtnEls.push(btnEl);
            }
          }
          return angular.element(submitBtnEls);
        }
function getSubmitBtnChildren ( formEl ) { var submitBtnEls = [ ] ; var allButtonEls = formEl . find ( angularPromiseButtons . config . BTN_SELECTOR ) ; for ( var i = 0 ; i < allButtonEls . length ; i ++ ) { var btnEl = allButtonEls [ i ] ; if ( angular . element ( btnEl ) . attr ( 'type' ) === 'submit' ) { submitBtnEls . push ( btnEl ) ; } } return angular . element ( submitBtnEls ) ; }
Get's all submit button children of the given element
@param {Object}formEl
@returns {Object}
Get s all submit button children of the given element