We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
controller
1 parent d798423 commit c28123aCopy full SHA for c28123a
src/ng/route.js
@@ -27,8 +27,9 @@ function $RouteProvider(){
27
*
28
* Object properties:
29
30
- * - `controller` – `{function()=}` – Controller fn that should be associated with newly
31
- * 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}
32
+ * if passed as a string.
33
* - `template` – `{string=}` – html template as a string that should be used by
34
* {@link ng.directive:ngView ngView} or
35
* {@link ng.directive:ngInclude ngInclude} directives.
0 commit comments