chore(closure): add $routeProvider#redirectTo function parameters

Closes #5173
This commit is contained in:
David Bennett 2013-11-27 10:58:20 -06:00 committed by Pete Bacon Darwin
parent fbc5cf514b
commit 280b5ce3c0

5
closure/angular.js vendored
View file

@ -1709,7 +1709,8 @@ angular.$routeProvider.when = function(path, route) {};
* resolve: (Object.<string, (
* string|Function|Array.<string|Function>|angular.$q.Promise
* )>|undefined),
* redirectTo: (string|function()|undefined),
* redirectTo: (
* string|function(Object.<string>, string, Object): string|undefined),
* reloadOnSearch: (boolean|undefined)
* }}
*/
@ -1732,7 +1733,7 @@ angular.$routeProvider.Params.templateUrl;
*/
angular.$routeProvider.Params.resolve;
/** @type {string|function()} */
/** @type {string|function(Object.<string>, string, Object): string} */
angular.$routeProvider.Params.redirectTo;
/** @type {boolean} */