Hi Peter,

I cleaned the plunk a bit, and put in a few small changes: 
http://plnkr.co/edit/C9CzEU
A bit speedier now, but still not great.
The main problem is, that you are building the dom, and constructing the 
data in 1 go.
For every cell you create, there are quite a few lookups. This can be done 
before. in the controller, or in a service.
Even after I cached the getModel and the getTemplate functions they both 
are called 1700 times. That’s 3400 function-calls for those 2 alone

if you create an array along those lines:

 [
    [ { template : resultOfGetTemplate ,
        model: resultOfGetModel}
    ],...
 ]

and traverse that array, I think you will end up with a working solution!

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