Angular Universal - How to trigger manually the state change from server side to client view?
We have a simple Angular Universal app using angular/cli: 1.4.3 (and node: 6.9.5). We manage to configure the server side view. When the dom is ready, we switch to a client view. But, the switch is made before we collect all the data needed from the API. So there is a moment right after the switch when the page is displayed without the data. Is there any way to trigger manually the switch between the 2 states? In this case, we want to display the client view after we get the response from the API. Here is the simplified example we made for this: import { Component, OnInit } from '@angular/core