Is there a way to trigger a function inside a directive whenever the parent scope undergoes a state change?
One common approach is to utilize event broadcasts ($broadcast) and listeners ($on).
I'm curious whether using a $watch could serve as an alternative to event broadcasting. If so, how do they compare in terms of functionality?
From my understanding, the expression being monitored is assessed during each $digest cycle. Does this mean that events are more efficient than watches?