aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/route.js
diff options
context:
space:
mode:
authorMisko Hevery2013-04-29 14:27:45 -0400
committerMisko Hevery2013-04-29 14:28:54 -0400
commit400f9360bb2f7553c5bd3b1f256a5f3db175b7bc (patch)
tree1ffaaaacded8de30b66de384954f49366ec11b7e /src/ng/route.js
parent7812ae75d578314c1a285e9644fc75812940eb1d (diff)
downloadangular.js-400f9360bb2f7553c5bd3b1f256a5f3db175b7bc.tar.bz2
fix(ngController): change controllerAlias to controllerAs.
Diffstat (limited to 'src/ng/route.js')
-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 4014dfa8..12e560c7 100644
--- a/src/ng/route.js
+++ b/src/ng/route.js
@@ -44,8 +44,8 @@ function $RouteProvider(){
* - `controller` – `{(string|function()=}` – Controller fn that should be associated with newly
* created scope or the name of a {@link angular.Module#controller registered controller}
* if passed as a string.
- * - `controllerAlias` – `{string=}` – A controller alias name. If present the controller will be
- * published to scope under the `controllerAlias` name.
+ * - `controllerAs` – `{string=}` – A controller alias name. If present the controller will be
+ * published to scope under the `controllerAs` name.
* - `template` – `{string=|function()=}` – html template as a string or function that returns
* an html template as a string which should be used by {@link ng.directive:ngView ngView} or
* {@link ng.directive:ngInclude ngInclude} directives.