code: function(leafRouteName, contexts, queryParams) {
          var state = calculatePostTransitionState(this, leafRouteName, contexts);
          var handlerInfos = state.handlerInfos;
          var appCache = this._bucketCache;
  
          stashParamNames(this, handlerInfos);
  
          for (var i = 0, len = handlerInfos.length; i < len; ++i) {
            var route = handlerInfos[i].handler;
            var qpMeta = get(route, '_qp');
  
            for (var j = 0, qpLen = qpMeta.qps.length; j < qpLen; ++j) {
              var qp = qpMeta.qps[j];
              var presentProp = qp.prop in queryParams  && qp.prop ||
                                qp.fprop in queryParams && qp.fprop;
  
              if (presentProp) {
                if (presentProp !== qp.fprop) {
                  queryParams[qp.fprop] = queryParams[presentProp];
                  delete queryParams[presentProp];
                }
              } else {
                var controllerProto = qp.cProto;
                var cacheMeta = get(controllerProto, '_cacheMeta');
  
                var cacheKey = controllerProto._calculateCacheKey(qp.ctrl, cacheMeta[qp.prop].parts, state.params);
                queryParams[qp.fprop] = appCache.lookup(cacheKey, qp.prop, qp.def);
              }
            }
          }
        }
docs: /*
  becomeResolved: function(payload, resolvedContext) {
  var params = this.serialize(resolvedContext);
  
  if (payload) {
  this.stashResolvedModel(payload, resolvedContext);
  payload.params = payload.params || {};
  payload.params[this.name] = params;
  }
  
  return this.factory('resolved', {
  context: resolvedContext,
  name: this.name,
  handler: this.handler,
  params: params
  });
  },