From 400f9360bb2f7553c5bd3b1f256a5f3db175b7bc Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Mon, 29 Apr 2013 14:27:45 -0400 Subject: fix(ngController): change controllerAlias to controllerAs. --- src/ng/route.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ng/route.js') 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. -- cgit v1.2.3