From 72855c2ca6bc1e893e50f0af13b0a1f3fd8abb73 Mon Sep 17 00:00:00 2001 From: Nicholas Albion Date: Thu, 30 Oct 2014 10:30:42 +1100 Subject: [PATCH] docs($compile): bindToController: true It was not clear that `bindToController` is a boolean. --- src/ng/compile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ng/compile.js b/src/ng/compile.js index 00f174d10954..0c545303fb46 100644 --- a/src/ng/compile.js +++ b/src/ng/compile.js @@ -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. *