I have an angular app that have different lazily loaded modules. The structure of app.html is
<mat-toolbar></mat-toolbar>
<router-outlet></router-outlet>
<app-footer></app-footer>
at the start of routing a page, the footer comes to the top just beneath the tool bar for a while till the lazily loaded modules finishes loading. this is also affecting it in SEO. for instance on google PageSpeed Insights (https://developers.google.com/speed/pagespeed/insights/), the page is empty. I don't think i need to use angular route resolver, since the point here is to wait for modules to load not to wait for for data to arrive. how can i make route to wait till the module is loaded.