I am trying to solve a problem here.
I need to display a variable on the URL of my Angular App like this:
If variable is for example test I want to display the URL as localhost:xxxx/test and if the variable is changed to something the URL should be localhost:xxxx/something . I have read the Angular documentation but I was unable to find a related section, it's always about parsing data from the URL not injecting data to it.
Can someone point me to the right direction?