Angular2 $location.search() equivalent (setting query params)
<p>My web application has multiple filters that should be represented in the current Url so that users can simply copy/bookmark the current page to get it back later.</p>

<p>In angular1 I used <code>$location.search(name, value)</code> to simply set seach params on change. Now I want to get something similar in angular2.</p>

<p>Or is it wrong?</p>