Angular 2 delay rendering of router-outlet
<p>I'm developing an Angular 2 app with multiple components that rely on some data that is loaded from the server via the http-service (it's data about the user and his roles). </p>

<p>Most of my route components throw errors within their ngOnInit() methods if this data is not already loaded. The data is loaded and stored within a service that is injected in all components.</p>

<p>Is there a way to delay the rendering of the current route within my root-component until the http call is finished?</p>

<p>Otherwise I would have to implement some kind of check and retry mechanism within the ngOnInit of all the route components, which would be very awkward.</p>

<p>I already tried to hide the router-outlet element until the call finished but this leads to an error saying "Cannot find primary outlet to load xxx"</p>