Hi Sander,

The footer is getting loaded from another library. Could you please help 
how to use a service here to solve my problem.

We have another scenario also where the part of the template is coming from 
the back-end API. In this case also the html element which I want to 
manipulate in component ,is not available in *ngAfterViewInit*. It's 
getting available in *ngAfterViewChecked* as it's getting called multiple 
times and some time the service call will be done and that html DOM will be 
available.

-- 
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 angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/fd543612-d910-4ed4-a324-9d0a30684c39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to