lib/ngapp/casing.js
function camelCase(str, delim) {
        var delims = delim || ['_', '.', '-'];

        if (!_.isArray(delims)) {
            delims = [delims];
        }

        _.each(delims, function (adelim) {
            var codeParts = str.split(adelim);
            var i, codePart;

            for (i = 1; i < codeParts.length; i++) {
                codePart = codeParts[i];
                codeParts[i] = codePart.substring(0, 1).toUpperCase() + codePart.substring(1);
            }

            str = codeParts.join('');
        });

        return str;
    }
function camelCase(str, delim) {
        var delims = delim || ['_', '.', '-'];

        if (!_.isArray(delims)) {
            delims = [delims];
        }

        _.each(delims, function (adelim) {
            var codeParts = str.split(adelim);
            var i, codePart;

            for (i = 1; i < codeParts.length; i++) {
                codePart = codeParts[i];
                codeParts[i] = codePart.substring(0, 1).toUpperCase() + codePart.substring(1);
            }

            str = codeParts.join('');
        });

        return str;
    }
function camelCase ( str , delim ) { var delims = delim || [ '_' , '.' , '-' ] ; if ( ! _ . isArray ( delims ) ) { delims = [ delims ] ; } _ . each ( delims , function ( adelim ) { var codeParts = str . split ( adelim ) ; var i , codePart ; for ( i = 1 ; i < codeParts . length ; i ++ ) { codePart = codeParts [ i ] ; codeParts [ i ] = codePart . substring ( 0 , 1 ) . toUpperCase ( ) + codePart . substring ( 1 ) ; } str = codeParts . join ( '' ) ; } ) ; return str ; }
Convert to camelCase
@param str
@param delim
Convert to camelCase