True, root scope is OK to broadcast an event, it's also fine to listen on,
eg. in services when you are 100% sure it happens at least once. Anything
else is asking for leaks.

Regards,
Witold Szczerba
---
Sent from my mobile phone.
On Jul 8, 2014 11:27 AM, "Sander Elias" <[email protected]> wrote:

> Hi Stephen,
>
> You are right. This is one of the reasons it's an bad idea to use the
> $rootScope at all.
> There are some situation you really need it for, but if you find yourself
> using $rootScope
> you really should consider an alternative approach.
>
> Regards
> Sander
>
> --
> 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/d/optout.
>

-- 
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/d/optout.

Reply via email to