Force angular to refresh pages when called via the router

How to force the router in angular to always reload when the page is called again…


@ngModule({
 imports: [RouterModule.forRoot(routes, {onSameUrlNavigation: 'reload'})],
 exports: [RouterModule],
 })

Leave a Reply

Your email address will not be published. Required fields are marked *