demo/www/lib/angular-ui-router/src/state.js
function(state) {
      var params = state.url && state.url.params || new $$UMFP.ParamSet();
      forEach(state.params || {}, function(config, id) {
        if (!params[id]) params[id] = new $$UMFP.Param(id, null, config, "config");
      });
      return params;
    }
function(state) {
      var params = state.url && state.url.params || new $$UMFP.ParamSet();
      forEach(state.params || {}, function(config, id) {
        if (!params[id]) params[id] = new $$UMFP.Param(id, null, config, "config");
      });
      return params;
    }
function ( state ) { var params = state . url && state . url . params || new $$UMFP . ParamSet ( ) ; forEach ( state . params || { } , function ( config , id ) { if ( ! params [ id ] ) params [ id ] = new $$UMFP . Param ( id , null , config , "config" ) ; } ) ; return params ; }
Own parameters for this state. state.url.params is already built at this point. Create and add non-url params
Own parameters for this state . state . url . params is already built at this point . Create and add non - url params