1

I want load module without change url in angular 5.
Is it possible to load module with lazy loading on click without change a url and also do not change route in angular5?

Parth Godhani
  • 209
  • 3
  • 18

1 Answers1

1

You can using

{ skipLocationChange: true }

while you navigation to route. It will navigates without pushing a new state into history.

Refer :

Pardeep Jain
  • 84,110
  • 37
  • 165
  • 215