aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/route.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/route.js')
-rw-r--r--src/ng/route.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ng/route.js b/src/ng/route.js
index b52f4351..7651a806 100644
--- a/src/ng/route.js
+++ b/src/ng/route.js
@@ -44,6 +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` – `{sttring=}` – A controller alias name. If present the controller will be
+ * published to scope under the `controllerAlias` 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.