Hi Frank, Doing DOM manipulation with native methods like this is kind of an antipattern in Angular. Aside from that, if you need to run some code after the template is parsed and read, you should use the ngAfterViewInit life-cycle hook. Take into account that that is after the change-detection is done, and you can not manipulate data in there.
Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
