diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ng/route.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ng/route.js b/src/ng/route.js index f488ebf4..b6b483aa 100644 --- a/src/ng/route.js +++ b/src/ng/route.js @@ -27,8 +27,9 @@ function $RouteProvider(){ * * Object properties: * - * - `controller` – `{function()=}` – Controller fn that should be associated with newly - * created scope. + * - `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. * - `template` – `{string=}` – html template as a string that should be used by * {@link ng.directive:ngView ngView} or * {@link ng.directive:ngInclude ngInclude} directives. |
