title: How to get multiple ids from route param in Angular 6?
body: <p>I want to fetch multiples ids which I am passing while routing in Angular using route.params.
  This is the route.ts</p>
  
  <pre><code>{path:'section/:id/:id', component: SubsectionsComponent}
  </code></pre>
  
  <p>And this is how I am routing from a component.ts</p>
  
  <pre><code>onSectionClick(id1, id2){
      this.router.navigate(['/path/',id1,id2], {relativeTo:this.route})
    }
  </code></pre>
  
  <p>And this is how I am fetching in the component where it routes.</p>
  
  <pre><code>constructor(private route: ActivateRoute){}
  this.route.params.subscribe(
        (route)=&gt;{  
          console.log(route)
        }
      )
  </code></pre>
  
  <p>But it is only logging one id from the params.</p>