I am facing issue in angular js, right now we have two urls in our application, http://localhost/xyz?page=documents&view=grid&sortorder=desc&sortby=updatedate&limit=35&offset=0
and then we another url http://localhost/abc
When i move from the first url to the second url it carries the query params from the first url, this is how the second url looks like http://localhost/abc?page=documents&view=grid&sortorder=desc&sortby=updatedate&limit=35&offset=35
We don't the fetch url carrying the query params from the first page. I am new to angular js, I have came across few options like $location.search({}); $location.url($location.path())
But those didn't work at all.