code: function normalizeControllerQueryParams(queryParams) {
      if (queryParams._qpMap) {
        return queryParams._qpMap;
      }
  
      var qpMap = queryParams._qpMap = {};
  
      for (var i = 0, len = queryParams.length; i < len; ++i) {
        accumulateQueryParamDescriptors(queryParams[i], qpMap);
      }
  
      return qpMap;
    }
docs: /*
  Controller-defined query parameters can come in three shapes:
  
  Array
  queryParams: ['foo', 'bar']
  Array of simple objects where value is an alias
  queryParams: [
  {
  'foo': 'rename_foo_to_this'
  },
  {
  'bar': 'call_bar_this_instead'
  }
  ]
  Array of fully defined objects
  queryParams: [
  {
  'foo': {
  as: 'rename_foo_to_this'
  },
  }
  {
  'bar': {
  as: 'call_bar_this_instead',
  scope: 'controller'
  }
  }
  ]
  
  This helper normalizes all three possible styles into the
  'Array of fully defined objects' style.