How to set query parameters to url Angular2?
<p>I have a requirement to set a url with query parameters like <code>/Questions?id=1234&amp;pageid=0</code>. I have tried to do it via <code>router.Navigate['/Questions?id=1234&amp;pageid=0']</code> but no luck.</p>

<p>After navigation browser shows like <code>/Questions%3Fid%3D1234%26pageid%3D0</code>.</p>

<p>I have also tried it with setting <code>routerLink="/Questions?id=1234&amp;pageid=0"</code>, but same result.</p>

<p>Please suggest any solution to do it.I am using <strong>rc5</strong> for <strong>angular2</strong>.</p>