I am calling router.navigate on same page with some query string parameters. In this case, ngOnInit() does not call. Is it by default or do I need
router.navigate
ngOnInit()
Create a different path for the same component in the routes array .
const routes : Routes = [ { path : "app", component: MyComponent }, { path: "app-reload", component: MyComponent }];
If the current URL is "app" then navigate using "app-reload" and vice versa.