diff --git a/closure/angular.js b/closure/angular.js index 09e31723d7a6..993ded1df695 100644 --- a/closure/angular.js +++ b/closure/angular.js @@ -1698,7 +1698,8 @@ angular.$routeProvider.when = function(path, route) {}; * resolve: (Object.|angular.$q.Promise * )>|undefined), - * redirectTo: (string|function()|undefined), + * redirectTo: ( + * string|function(Object., string, Object): string|undefined), * reloadOnSearch: (boolean|undefined) * }} */ @@ -1721,7 +1722,7 @@ angular.$routeProvider.Params.templateUrl; */ angular.$routeProvider.Params.resolve; -/** @type {string|function()} */ +/** @type {string|function(Object., string, Object): string} */ angular.$routeProvider.Params.redirectTo; /** @type {boolean} */