title: Angular2 http.get() always giving 404
body: <p>I am trying to load a dummy json data from a file but it seems like angular2 http.get method does not able to pick that up. Every time it is giving resource not available with a 404 status. I am using the below code.</p>
  
  <pre><code>const obs: Observable&lt;any&gt; = this.http.get('http://localhost:4200/assets/mock-json/cashback.json')
      .map((res: Response) =&gt; {
        console.log('***********',res.json());
        res.json(); })
      .do((res) =&gt; this.loadedCB = res);
   if (this.loadedCB) {
       return Observable.of(this.loadedCB);
   }
  </code></pre>
  
  <p>Even when I try the URL <a href="http://localhost:4200/assets/mock-json/cashback.json" rel="nofollow noreferrer">http://localhost:4200/assets/mock-json/cashback.json</a> manually in browser it works. Can't figure out why it is not working with http.get().</p>