Angular universal is rendering home page html in page source for every pages Angular universal is rendering home page html in page source for every pages angular angular

Angular universal is rendering home page html in page source for every pages


The issue was with the URL structure. We've used HashLocationStrategy https://codecraft.tv/courses/angular/routing/routing-strategies/ by adding # in the URL for avoiding 404-page error while refreshing the angular page in the server.

When we've removed the HashLocationStrategy from the application, it's working fine.

@david: Thanks for your support.