Thanks Sander.  Can you clarify what you mean by this:-

The optimal one would be a number of directives that uses their controllers 
to communicate this stuff. That's the optimal solution. And the only one, 
that can switch everything on/off in 1 digest cycle.

On Thursday, 6 November 2014 14:47:23 UTC+11, Sander Elias wrote:
>
> Hi Kamal,
>
> This is a working solution, although not a very optimal one. It adds an 
> lot of watchers, and that alone can be a performance problem. (I counted 
> them, in your sample there are over 4000 watchers)
> If you need a solution like this, add a couple off directives that utilize 
> events. That is the simple solution.
> The optimal one would be a number of directives that uses their 
> controllers to communicate this stuff. That's the optimal solution. And the 
> only one, that can switch everything on/off in 1 digest cycle.
>
> 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.

Reply via email to