Installed spin package and used waitOn parameter on Router.configure to get the subscription from the server before the page loads.