lib/ngapp/state.loader.js
function getPascalCase(val) {
        var parts = val.split('.');
        var newVal = '';

        for (var i = 0; i < parts.length; i++) {
            newVal += parts[i].substring(0, 1).toUpperCase() + parts[i].substring(1);
        }

        return newVal;
    }
function getPascalCase(val) {
        var parts = val.split('.');
        var newVal = '';

        for (var i = 0; i < parts.length; i++) {
            newVal += parts[i].substring(0, 1).toUpperCase() + parts[i].substring(1);
        }

        return newVal;
    }
function getPascalCase ( val ) { var parts = val . split ( '.' ) ; var newVal = '' ; for ( var i = 0 ; i < parts . length ; i ++ ) { newVal += parts [ i ] . substring ( 0 , 1 ) . toUpperCase ( ) + parts [ i ] . substring ( 1 ) ; } return newVal ; }
Helper function to get pascal case of a route name
@param val
@returns {string}
Helper function to get pascal case of a route name