Clear all queryParams with new Router v3 Angular2 : <p>I'm trying to figure out how to use the Angular2 router navigation (router 3.0.0-alpha.7) with query parameters.</p>

<p>I can easily navigate to a route with a queryParam with this line:</p>

<pre><code>this._router.navigate(['/login'], {queryParams: {redirect: 'route1'}});
</code></pre>

<p>In the '/login' component, I do some login which will redirect to the <code>redirect</code> route, namely route1 here. However, after the redirection, the <code>redirect</code> query parameters stays in the URL, i.e. I'm now at page <code>/route1?redirect=route1</code>. I want to remove the redirect parameter here.</p>

<p>Moreover, if I then navigate to another page with the same <code>redirect</code> queryParam, it doesn't overwrite the previous one, but adds another <code>?redirect=...</code> in the url. Namely:</p>

<pre><code>this._router.navigate(['/another-route'], {queryParams: {redirect:'route2'}});
</code></pre>

<p>leads me to <code>/another-route?redirect=route2?redirect=route1</code></p>

<p>Is it possible to clear the queryParams when navigating between routes?
I tried <code>this._router.navigate(['/route1'], {queryParams: {redirect: null}});</code>, or <code>{queryParams: null}</code> etc but no success.</p>
