Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 41b36e6

Browse files
nalbionpkozlowski-opensource
authored andcommitted
docs($compile): bindToController clarification
It was not clear that `bindToController` is a boolean. Closes #9835
1 parent 52545e5 commit 41b36e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/compile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
*
181181
*
182182
* #### `bindToController`
183-
* When an isolate scope is used for a component (see above), and `controllerAs` is used, `bindToController` will
183+
* When an isolate scope is used for a component (see above), and `controllerAs` is used, `bindToController: true` will
184184
* allow a component to have its properties bound to the controller, rather than to scope. When the controller
185185
* is instantiated, the initial values of the isolate scope bindings are already available.
186186
*

0 commit comments

Comments
 (0)