dist/angularjs.inline-attachment.js
function readParameters(obj, scope) {
    var result = {},
      attrs = obj.$attr,
      option, value;

    for (var key in attrs) {
      option = lcfirst(key.substr(attrName.length));
      value = obj[key];
      // Check if the given key is a valid string type, not empty and starts with the attribute name
      if ((option.length > 0) && (key.substring(0, attrName.length) === attrName)) {
        result[option] = value;
        if (typeof scope[value] === 'function') {
          result[option] = scope[value];
        }
      }
    }

    return result;
  }
function readParameters(obj, scope) {
    var result = {},
      attrs = obj.$attr,
      option, value;

    for (var key in attrs) {
      option = lcfirst(key.substr(attrName.length));
      value = obj[key];
      // Check if the given key is a valid string type, not empty and starts with the attribute name
      if ((option.length > 0) && (key.substring(0, attrName.length) === attrName)) {
        result[option] = value;
        if (typeof scope[value] === 'function') {
          result[option] = scope[value];
        }
      }
    }

    return result;
  }
function readParameters ( obj , scope ) { var result = { } , attrs = obj . $attr , option , value ; for ( var key in attrs ) { option = lcfirst ( key . substr ( attrName . length ) ) ; value = obj [ key ] ; // Check if the given key is a valid string type, not empty and starts with the attribute name if ( ( option . length > 0 ) && ( key . substring ( 0 , attrName . length ) === attrName ) ) { result [ option ] = value ; if ( typeof scope [ value ] === 'function' ) { result [ option ] = scope [ value ] ; } } } return result ; }
Read all parameters from the given attributes object

@param  {Object} obj attributes
@return {Object}
Read all parameters from the given attributes object