dist/famous-angular.js
function (element) {
      if(!element[0]) return false;

      //short-circuit most common case
      if(IS_FA.test(element[0].tagName)) return true;

      //otherwise loop through attributes
      var ret = false;
      angular.forEach(element[0].attributes, function(attr){
        ret = ret || IS_FA.test(attr);
      });
      return ret;
    }
function (element) {
      if(!element[0]) return false;

      //short-circuit most common case
      if(IS_FA.test(element[0].tagName)) return true;

      //otherwise loop through attributes
      var ret = false;
      angular.forEach(element[0].attributes, function(attr){
        ret = ret || IS_FA.test(attr);
      });
      return ret;
    }
function ( element ) { if ( ! element [ 0 ] ) return false ; //short-circuit most common case if ( IS_FA . test ( element [ 0 ] . tagName ) ) return true ; //otherwise loop through attributes var ret = false ; angular . forEach ( element [ 0 ] . attributes , function ( attr ) { ret = ret || IS_FA . test ( attr ) ; } ) ; return ret ; }
Check if the element selected is an fa- element
@param {Array} element - derived element
@return {boolean}
Check if the element selected is an fa - element