lib/transformers/base.transformer.js
function getParamInfo(params, aliases) {
    var paramInfo = { converted: [], list: [], ngrefs: [] };

    _.each(params, function (param) {
        var mappedVal = aliases[param] || param;
        if (mappedVal === 'angular') {
            paramInfo.ngrefs.push(param);
        }
        else {
            paramInfo.list.push(param);
            paramInfo.converted.push(mappedVal);
        }
    });

    return paramInfo;
}
function getParamInfo(params, aliases) {
    var paramInfo = { converted: [], list: [], ngrefs: [] };

    _.each(params, function (param) {
        var mappedVal = aliases[param] || param;
        if (mappedVal === 'angular') {
            paramInfo.ngrefs.push(param);
        }
        else {
            paramInfo.list.push(param);
            paramInfo.converted.push(mappedVal);
        }
    });

    return paramInfo;
}
function getParamInfo ( params , aliases ) { var paramInfo = { converted : [ ] , list : [ ] , ngrefs : [ ] } ; _ . each ( params , function ( param ) { var mappedVal = aliases [ param ] || param ; if ( mappedVal === 'angular' ) { paramInfo . ngrefs . push ( param ) ; } else { paramInfo . list . push ( param ) ; paramInfo . converted . push ( mappedVal ) ; } } ) ; return paramInfo ; }
Take a list of params and create an object that contains the param list
and converted values which will be used in templates

@param params
@param aliases
@returns {{converted: Array, list: Array}}
Take a list of params and create an object that contains the param list and converted values which will be used in templates