I'm not sure what I want to do is correct or not, appreciate any input on how to achieve it.
I have an Angular SPA application. It has to be accessed with a default query parameter called clientcode to determine, which profile to be loaded - i.e. all application data changes according to the client. So the root url for the application looks like follows:
localhost/myapplication/?clientcode=j92muslsu9872n (just an example).
My other routes in the application look like following:
localhost/myapplication/location
localhost/myapplication/personal-info
localhost/myapplication/appointment
The question is, when I navigate back to the root route, I need to retain the query parameter. So that I could do a browser refresh and access the application.