We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e233eb commit fa0d8c4Copy full SHA for fa0d8c4
src/ng/controller.js
@@ -59,6 +59,10 @@ function $ControllerProvider() {
59
* * if $controllerProvider#allowGlobals, check `window[constructor]` on the global
60
* `window` object (not recommended)
61
*
62
+ * The string can use the `controller as property` syntax, where the controller instance is published
63
+ * as the specified property on the `scope`; the `scope` must be injected into `locals` param for this
64
+ * to work correctly.
65
+ *
66
* @param {Object} locals Injection locals for Controller.
67
* @return {Object} Instance of given controller.
68
0 commit comments