From fb8aed56af13472bf95e2ef1e2df2d72d9bb4955 Mon Sep 17 00:00:00 2001 From: Nazanin Delam Date: Wed, 23 Dec 2015 22:02:30 -0800 Subject: [PATCH] docs($compile): provide usage of bindToController as an object --- src/ng/compile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ng/compile.js b/src/ng/compile.js index b49f4a88760d..e3325c30d387 100644 --- a/src/ng/compile.js +++ b/src/ng/compile.js @@ -215,6 +215,7 @@ * 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. + * It is also possible to use bindToController as an object like `bindToController: { text: '@text', obj: '=obj', expr: '&expr' }` * * #### `controller` * Controller constructor function. The controller is instantiated before the