Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit ebba426

Browse files
thorn0gkalpak
authored andcommittedSep 6, 2015
docs($compile): clarify 'sharing' controllers
The current wording may make the reader erroneously think that one controller can belong to multiple directives. Closes #12768
1 parent aa11dfc commit ebba426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/ng/compile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
*
199199
* #### `controller`
200200
* Controller constructor function. The controller is instantiated before the
201-
* pre-linking phase and it is shared with other directives (see
201+
* pre-linking phase and can be accessed by other directives (see
202202
* `require` attribute). This allows the directives to communicate with each other and augment
203203
* each other's behavior. The controller is injectable (and supports bracket notation) with the following locals:
204204
*

0 commit comments

Comments
 (0)
This repository has been archived.