title: Refresh component after doing a router.navigate
body: <p>I am trying to navigate from one component to another component using : </p>
  
  <pre><code>this.router.navigate(['/path/'], '_blank');
  </code></pre>
  
  <p>The problem is that the component I am navigating to, is already created and its ngOnInit method is not executed when I navigate back to the page. I am trying to refresh the data showing on the page. This is in the ngOnInit function of the target component: </p>
  
  <pre><code>this.sub = this._DataService.getData().subscribe(data=&gt; {
          this.data= data;
      });
  </code></pre>
  
  <p>How can I tell the target component, that the data on the page is always refreshed when doing a navigation? </p>
  
  <p>I am using Ag-Grid to show the data in a table. In the NgOnInit function: </p>
  
  <pre><code>this.gridOptions.rowData = this.data;
  </code></pre>
  
  <p>The component I am originally coming from, is a form to add a new object. After submitting that object, it should redirect to the grid and show the new object. That is why the Grid should be updating its data, but because of some reason, it only does that when I manually refresh it through a context menu action in the grid, not on navigation. </p>
  
  <p>The submit function in the form looks as the following: </p>
  
  <pre><code> onSubmit(data) {
      this._DataService.addData(data.value).subscribe();
      this.router.navigate(['/data/']);
  }
  </code></pre>