mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-01 12:33:37 +08:00
docs($compile): bindToController clarification
It was not clear that `bindToController` is a boolean. Closes #9835
This commit is contained in:
committed by
Pawel Kozlowski
parent
52545e5a74
commit
41b36e689c
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user