In a nutshell, my goal is to navigate to a page with parameters without showing them in the URL. I have two components: Component A and B. What I want to do is route to B while still needing some parameters from A. I know I can achieve this by setting a route like [/B:parameter]. The issue is that it alters the URL from localhost:4200/b to something like localhost:4200/b=?parameter. I want to keep the parameters hidden from users because: - It's not relevant to them - It may involve sensitive business logic or data. Currently, I am using a constant to store the necessary state and accessing it in B's onInit method. Although this method works effectively, I find it inelegant. There must be a better and more sophisticated approach to handle this situation. It functions well enough, but it doesn't sit right with me. How can I tackle this elegantly?