title: How check each query param individually in angular 6
body: <p>I'm facing a problem to handle query params in my angular application. I have multiple query params in my search page. Below is the url</p>
  
  <blockquote>
    <p>/search?q=hyderbard&amp;view=map&amp;type=bat&amp;brand=sg</p>
  </blockquote>
  
  <pre><code>const urlParams = Observable.combineLatest(
        this.route.params,
        this.route.queryParams,
        (params, queryParams) =&gt; ({ ...params, ...queryParams })
  );
  urlParams.subscribe(routeParams =&gt; {
       routeParams.q !== undefined ? (this.q = routeParams.q): (this.q = "Bangalore");
       routeParams.type !== undefined ? (this.type = routeParams.type): (this.type = "All");
       routeParams.view !== undefined ? (this.view = routeParams.view): (this.type = "list");
       // this will call search api
       this.getList();
  });
  </code></pre>
  
  <p>This is my code, so whenever query params get changed, <code>getList</code> is called. 
  I don't want getList to be called when view query param updated. How to do this? Can any one please help</p>