My application have a url like this: "http://host:port/mySystem?x.system"
The x.system had to be added because a legacy application need this stuff on all url's, and my application depends on this legacy application.
My problem is that i need the pure url of the system like this : "http://host:port/mySystem", but when i use $location.absUrl() it returns : "http://host:port/mySystem?x.system"
There's a way to get the url with $location (or another service on angular), without the parameters ?
window.locationis provided by Angular as$location.