title: Angular 2, How to pass an array to the Router using queryParams
body: <p>Is there some way to get this kind of URL in Angular 2?</p>
  <p><strong><code>http://example.com/the-route?param[]=value1&amp;param[]=value2&amp;param[]=value3</code></strong></p>
  <p>I'm trying to do it like it should be, using <code>queryParams</code> with the <code>Router</code>, but as queryParams accepts an Object I can't do this:</p>
  <p><code>this.router.navigate(['/the-route'], queryParams: { 'param[]': 'value1', 'param[]': 'value2', 'param[]': 'value3' });</code></p>
  <p>Because, of course, I can't use the same name (<code>param[]</code>) several times in the Object</p>
  <p>I'm struggling with how to do this, but can't find a way</p>
  <p>I've seen this post:
  <a href="https://stackoverflow.com/questions/42110820/angular-2-pass-array-to-router-querystring">Angular 2 pass array to router queryString</a>. But there are no correct answers</p>