how to scroll to top on router link changge in angular 9 code example
Example: angular route change scroll to top
RouterModule.forRoot(appRoutes, { scrollPositionRestoration: 'enabled' })
RouterModule.forRoot(appRoutes, { scrollPositionRestoration: 'enabled' })