Hi Sander,

Thanks a ton for your reply. Your updated code convinces me more that the 
problem is related to angular + jquery, and not just one of them 
independently.

I tried upgrading to angular 1.3 but unfortunately it did not fix the 
problem. I've settled on using d3 for removing elements on $destroy, thus 
avoiding the problematic jqLitePatchJQueryRemove. 

Best,
Juan

On Sunday, August 10, 2014 11:09:58 PM UTC-7, Sander Elias wrote:
>
> Hi Juan,
>
> I updated your code to exclude jquery 
> <http://www.google.com/url?q=http%3A%2F%2Fplnkr.co%2Fedit%2Fm14pqC85ewztas4cfl8o%3Fp%3Dpreview&sa=D&sntz=1&usg=AFQjCNG4MxrudHAyZ0uKJ8wkrlgBCm5AuA>,
>  
> and it works well now.  On my computer I can now add and remove an 
> 1000x1000 grid without a problem.
> It just takes a little while ;) 
> The code in my sample also runs a lot faster then the jquery version, and 
> uses a lot less memory (approx 1/4th of the jquery version.) 
> Also you are using angular 1.2.x with jQuery 2.1.x. If my memory serves me 
> right there are some issues there too. Update to angular 1.3 or use an 
> older jQuery.
>
> 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