Server does not wait till http call completes before rendering - angular 4 server side rendering

I have gone ahead and implemented angular universal and able to render static part of html via server side rendering. Issue that I face is, API calls are being made and server is rendering the html without waiting for the http call to complete. So, part where my template is dependent on data obtained from api call is not being rendered on server.

Further Info:

I use authentication in node server which serve the index html only if the user is authenticated and sets the cookie on response.

Whenever I make an API call from angular, I also send the cookie as header as the dependent services also validates user with the token. For server side rendering, as the cookie will not be available at server level, I have successfully injected request and pick the cookie for the API call. So, API calls are successful but server is not waiting to render till the promise resolves.

Steps that I have tried with no success:

I have changed my zone version as suggested in this comment https://github.com/angular/universal-starter/issues/181#issuecomment-250177280

Please let me know if any further info is required.

Directing me to a angular universal boilerplate which has http calls involved would help me.