Currently I am toying with the AngularJS framework. I'm using the $route service for deep linking into my single-page application.Now I would like to navigate inside my application, say, by changing just the search part of the current URL. It is easy to do using the $location service in JavaScript, but how can I construct an href attribute from the current route with just the search part replaced?Do I have to do it by hand or is there an AngularJS way for it?