From 6e0001d82e7b9b1e589aaf773ab6272335fe2e2b Mon Sep 17 00:00:00 2001 From: thorn0 Date: Sat, 5 Sep 2015 20:49:06 +0300 Subject: [PATCH] docs($compile): clarify re 'sharing' controllers The current wording may make the reader erroneously think that one controller can belong to multiple directives. --- 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 9802ed55f8d2..6918c654d84c 100644 --- a/src/ng/compile.js +++ b/src/ng/compile.js @@ -198,7 +198,7 @@ * * #### `controller` * Controller constructor function. The controller is instantiated before the - * pre-linking phase and it is shared with other directives (see + * pre-linking phase and can be accessed by other directives (see * `require` attribute). This allows the directives to communicate with each other and augment * each other's behavior. The controller is injectable (and supports bracket notation) with the following locals: *