mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-13 17:23:11 +00:00
docs($route): rename leftover $afterRouteChange to $routeChangeSuccess
This commit is contained in:
parent
9b08bfa251
commit
05c88b866b
1 changed files with 2 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ function $RouteProvider(){
|
||||||
* - `resolve` - `{Object.<string, function>=}` - An optional map of dependencies which should
|
* - `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
|
* 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
|
* 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.
|
* - `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.
|
* - `factory` - `{string|function}`: If `string` then it is an alias for a service.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue