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

Commit

Permalink
docs($route): rename leftover $afterRouteChange to $routeChangeSuccess
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMinar committed Sep 6, 2012
1 parent 9b08bfa commit 05c88b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ng/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function $RouteProvider(){
* Object properties:
*
* - `controller` – `{(string|function()=}` – Controller fn that should be associated with newly
* created scope or the name of a {@link angular.Module#controller registered controller}
* created scope or the name of a {@link angular.Module#controller registered controller}
* if passed as a string.
* - `template` – `{string=}` – html template as a string that should be used by
* {@link ng.directive:ngView ngView} or
Expand All @@ -39,7 +39,7 @@ function $RouteProvider(){
* - `resolve` - `{Object.<string, function>=}` - An optional map of dependencies which should
* be injected into the controller. If any of these dependencies are promises, they will be
* resolved and converted to a value before the controller is instantiated and the
* `$afterRouteChange` event is fired. The map object is:
* `$routeChangeSuccess` event is fired. The map object is:
*
* - `key` – `{string}`: a name of a dependency to be injected into the controller.
* - `factory` - `{string|function}`: If `string` then it is an alias for a service.
Expand Down

0 comments on commit 05c88b8

Please sign in to comment.