--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular?hl=en.
--
The $broadcast and $on are synchronous, but your handlers may be asynchronous.
On 17 October 2012 19:05, John <pilo...@gmail.com> wrote:
Restating my question:
Consider the following code snippet in a parent controller
Code A
$scope.$broadcast('myevent')
Code B
Does Code B get executed before or after all the listeners in the chid directives have processed the event.
Thanks
John