Currently when bootstrapping the app component angular2 doesn't wait for completion of all the lifecycle phases.
The following method start end sequence will be printed to the console:
AppComponent.ngOnInit() - START
SearchComponent.ngOnInit() - START
AppComponent.ngOnInit() - END
How can for the completion of all the lifecycle phases of app component be waited for, so that the sequence looks as follows:
AppComponent.ngOnInit() - START
AppComponent.ngOnInit() - END
SearchComponent.ngOnInit() - START