Since they are bound to some properties in your scope why do you need to detect that? Isn't it enough a watch? Can't you broadcast yourself the change?
.m On 06/feb/2014, at 10:19, Roland Zwaga <[email protected]<mailto:[email protected]>> wrote: Hi there, is there a way to detect when ngShow or ngHide gets triggered? In my case I have a view that contains an audioplayer, I'd like to stop the audio playing when the view gets hidden. As far as I can see no events are broadcasted by those directives, so is there another way of detecting these changes? Thanks in advance for any advice, cheers, Roland Zwaga -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To post to this group, send email to [email protected]<mailto:[email protected]>. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
