Angular 2 New Router: Change / Set Query Params : <p>I have a component registered at <code>/contacts</code>, which displays a list of contacts. I've added an <code>&lt;input [value]="searchString"&gt;</code> for filtering the displayed list.</p>

<hr>

<p>Now I'd like to display the <code>searchString</code> within the URL in form of a Query Param. (Using the New Router 3.0.0 RC2)</p>

<p>The official docs ( <a href="https://angular.io/docs/ts/latest/guide/router.html#!#query-parameters" rel="noreferrer">https://angular.io/docs/ts/latest/guide/router.html#!#query-parameters</a> ) show how to use <code>router.navigate</code> for changing the <code>queryParams</code>. But this seems awkward, because I just want to change the <code>queryParams</code> without having to know which route I'm currently at: <code>router.navigate(['/contacts'], {queryParams:{foo:42}})</code></p>

<p>(I know that it doesn't reload the component if I'm just changing the <code>queryParams</code>, but still this doesn't feel right to write)</p>

<hr>

<p>After some attempts I figured out that <code>router.navigate([], {queryParams:{foo:42}})</code> works. This feels way better.</p>

<p>But I'm still not sure if that's the right way. Or if I missed some method for this.</p>

<hr>

<p>How do you change your <code>queryParams</code>?</p>
