Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 05c88b8

Browse files
committed
docs($route): rename leftover $afterRouteChange to $routeChangeSuccess
1 parent 9b08bfa commit 05c88b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/route.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function $RouteProvider(){
2828
* Object properties:
2929
*
3030
* - `controller` – `{(string|function()=}` – Controller fn that should be associated with newly
31-
* created scope or the name of a {@link angular.Module#controller registered controller}
31+
* created scope or the name of a {@link angular.Module#controller registered controller}
3232
* if passed as a string.
3333
* - `template` – `{string=}` – html template as a string that should be used by
3434
* {@link ng.directive:ngView ngView} or
@@ -39,7 +39,7 @@ function $RouteProvider(){
3939
* - `resolve` - `{Object.<string, function>=}` - An optional map of dependencies which should
4040
* be injected into the controller. If any of these dependencies are promises, they will be
4141
* resolved and converted to a value before the controller is instantiated and the
42-
* `$afterRouteChange` event is fired. The map object is:
42+
* `$routeChangeSuccess` event is fired. The map object is:
4343
*
4444
* - `key` – `{string}`: a name of a dependency to be injected into the controller.
4545
* - `factory` - `{string|function}`: If `string` then it is an alias for a service.

0 commit comments

Comments
 (0)