title: Angular lifecycle hook after all children are initialized?
body: <p>I am looking for a concept to implement the following case: </p>
  
  <p>I have a parent search component that has some components as view children / content children for displaying facets and search results. I now want to trigger a search when the application has finished loading so the user does not see an empty page.</p>
  
  <p>My problem now is that I cannot find a lifecycle hook that fits my needs. The facets / search results subscribe to the search results in their respective ngOnInit. So I need a hook that gets called <strong>after</strong> all child components had finished initializing. </p>
  
  <p>I have tried the following hooks on the parent component</p>
  
  <ul>
  <li><em>ngAfterContentInit</em>: this gets called before ngOnInit is called on the children</li>
  <li><em>ngAfterViewInit</em>: this one works but after the search results return the view of the children gets updated which leads to an error since actions that manipulate the view are not allowed in <em>ngAfterViewInit</em></li>
  </ul>
  
  <p>Any Idea how to tackle this problem? To me it seems I do not grasp something fundamental here.</p>
  
  <p>Cheers</p>
  
  <p>Tom</p>