Hi Sander,
The $(el)s are only in the fiddle for setting up the test environment and
grabbing templates for other frameworks
The plunker doesn't have that, just using angular2, setting properties that
are bound to views.

On Sun, Oct 25, 2015 at 8:24 AM, Sander Elias <[email protected]> wrote:

> Hi Chang,
>
> I did not dig in very deeply, but when glancing over your code I saw an
> tremendous lot of $(ele).doStuff(). This will slow things down, and is
> usually totally not needed in an agnular app. in your component you have
> direct access to the dom element. Let angular take care of the DOM stuff,
> and probably you test will speed up quite a bit.
>
> Regards
> Sander
> ​
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/o9QT5PhzJbo/unsubscribe.
> To unsubscribe from this group and all its topics, 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