Angular2 Routerlink: add query parameters
<p>How can I add query parameters to <code>routerLink</code>?</p>

<pre><code>@RouteConfig {
   {path: '/search',   name: 'Search', component: SearchCmp}
}  
</code></pre>

<p>Let' say I want to route to <code>/search?q=asdf</code>,</p>

<pre><code>&lt;a [routerLink]= " [ '/Search' , {q= 'asdf'}] "&gt;Link 1&lt;/a&gt;
</code></pre>

<p>this resolves to <code>/search</code> .</p>

<p>Is there a way to add query parameters without using:</p>

<pre><code>this.router.navigate( ['Search', { q: 'asdf'}]);
</code></pre>

<p>or</p>

<pre><code>&lt;a href="/search?a=asdf"&gt; Link 2 &lt;/a&gt;
</code></pre>

<p>?</p>