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

Commit

Permalink
docs($compile): clarify 'sharing' controllers
Browse files Browse the repository at this point in the history
The current wording may make the reader erroneously think that one controller
can belong to multiple directives.

Closes #12768
  • Loading branch information
thorn0 authored and gkalpak committed Sep 6, 2015
1 parent aa11dfc commit ebba426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ng/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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:
*
Expand Down

0 comments on commit ebba426

Please sign in to comment.