build/scripts/ng-map.debug.js
function(el) {
      (el.length > 0) && (el = el[0]);
      var orgAttributes = {};
      for (var i=0; i<el.attributes.length; i++) {
        var attr = el.attributes[i];
        orgAttributes[attr.name] = attr.value;
      }
      return orgAttributes;
    }
function(el) {
      (el.length > 0) && (el = el[0]);
      var orgAttributes = {};
      for (var i=0; i<el.attributes.length; i++) {
        var attr = el.attributes[i];
        orgAttributes[attr.name] = attr.value;
      }
      return orgAttributes;
    }
function ( el ) { ( el . length > 0 ) && ( el = el [ 0 ] ) ; var orgAttributes = { } ; for ( var i = 0 ; i < el . attributes . length ; i ++ ) { var attr = el . attributes [ i ] ; orgAttributes [ attr . name ] = attr . value ; } return orgAttributes ; }
Returns the attributes of an element as hash
@memberof Attr2MapOptions
@param {HTMLElement} el html element
@returns {Hash} attributes
Returns the attributes of an element as hash