aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIgor Minar2012-09-06 15:03:35 -0700
committerIgor Minar2012-09-06 15:03:35 -0700
commit05c88b866bdcd426d09fdb070cc67af718a41557 (patch)
treea7a05dce0b14624ac69d9d263a9b8e4dc0c53a0f /src
parent9b08bfa251f0b632476edab74d8acffb1f19e879 (diff)
downloadangular.js-05c88b866bdcd426d09fdb070cc67af718a41557.tar.bz2
docs($route): rename leftover $afterRouteChange to $routeChangeSuccess
Diffstat (limited to 'src')
-rw-r--r--src/ng/route.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ng/route.js b/src/ng/route.js
index b6b483aa..1e9fc1db 100644
--- a/src/ng/route.js
+++ b/src/ng/route.js
@@ -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
@@ -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.