This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Here is a quick idea about how broadcast and emit work. | |
| Notice the nodes below; all nested within node 3. You use broadcast and emit when you have this scenario. | |
| Note: The number of each node in this example is arbitrary; it could easily be the number one; the number two; or even the number 1,348. Each number is just an identifier for this example. The point of this example is to show nesting of Angular controllers/directives. | |
| 3 | |
| ------------ | |
| | | | |
| ----- ------ |
NewerOlder