Reference from: https://toddmotto.com/all-about-angulars-emit-broadcast-on-publish-subscribing/ — Angular’s $emit, $broadcast and $on fall under the common “publish/subscribe” design pattern, or can do, in which you’d publish an event and subscribe/unsubscribe to it somewhere else. The Angular event system is brilliant, it makes things flawless and easy to do (as you’d expect!) but the concept […]

1,307 total views, 2 views today