title: angular2 component refresh data
body: <p>I have a snippet of code in my anuglar2 Component that loads the data on during the component initialization phase - I want the data to get updated during page refresh, what am I doing wrong?, </p>
  
  <p>here's my snippet:</p>
  
  <pre><code>   ngOnInit(): void {
          this._productService.getProducts().subscribe(
              products =&gt; this.products = products,
              error =&gt; this.errorMessage = &lt;any&gt;error);
      }
  </code></pre>