This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ function $RouteProvider(){
28
28
* Object properties:
29
29
*
30
30
* - `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}
32
32
* if passed as a string.
33
33
* - `template` – `{string=}` – html template as a string that should be used by
34
34
* {@link ng.directive:ngView ngView} or
@@ -39,7 +39,7 @@ function $RouteProvider(){
39
39
* - `resolve` - `{Object.<string, function>=}` - An optional map of dependencies which should
40
40
* be injected into the controller. If any of these dependencies are promises, they will be
41
41
* 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:
43
43
*
44
44
* - `key` – `{string}`: a name of a dependency to be injected into the controller.
45
45
* - `factory` - `{string|function}`: If `string` then it is an alias for a service.
You can’t perform that action at this time.
0 commit comments