title: Pass parameters Object with this.router.navigateByUrl in angular
body: <p>I want to pass my parameter to of the function to my below method in Angular so that I can use it another tab</p>
  
  <pre><code>  showReports(data) {
      console.log(data);
      this.router.navigateByUrl('').then(result =&gt; {  window.open('/selected', '_blank'); });
    }
  </code></pre>
  
  <p>So how to pass the data in above function to <code>navigateByUrl</code> method in Angular?</p>