docs($compile): bindToController clarification

It was not clear that `bindToController` is a boolean.

Closes #9835
This commit is contained in:
Nicholas Albion
2014-10-30 10:30:42 +11:00
committed by Pawel Kozlowski
parent 52545e5a74
commit 41b36e689c

View File

@@ -180,7 +180,7 @@
*
*
* #### `bindToController`
* When an isolate scope is used for a component (see above), and `controllerAs` is used, `bindToController` will
* When an isolate scope is used for a component (see above), and `controllerAs` is used, `bindToController: true` will
* allow a component to have its properties bound to the controller, rather than to scope. When the controller
* is instantiated, the initial values of the isolate scope bindings are already available.
*