title: pass two parameter in routing in angular 6
body: <p>i am passing two parameter with route but its not working.
  when i click on routerLink it is redirecting me to my default route.<br>
  means there is no route who is accepting parameters.<br>
  What am i missing..?<br>
  THANKS in Advance.</p>
  
  <p>paht is:</p>
  
  <pre><code>{path:'Buy/:term1/:term2', component: Buycomponent}
  </code></pre>
  
  <p>and i am passing parameters like this:</p>
  
  <pre><code>&lt;a [routerLink] ="['/Buy',{term1:'sale',term2:'home'}]"&gt;data&lt;/a&gt;
  </code></pre>
  
  <p>in component i am getting parameters like this:</p>
  
  <pre><code>this.route.params.subscribe(response =&gt; console.log(response.term1 , responce.term2));  
  </code></pre>
  
  <p>.<br>
  Updated...</p>
  
  <p>for single value it is working fine.</p>
  
  <pre><code>{path:'Buy/:term1, component: Buycomponent}
  </code></pre>
  
  <p>and passing parameter like this:</p>
  
  <pre><code>&lt;a [routerLink] ="['/Buy','sale']"&gt;data&lt;/a&gt;
  </code></pre>
  
  <p>in component i am getting parameters like this: </p>
  
  <pre><code>this.route.params.subscribe(response =&gt; console.log(response.term1));
  </code></pre>