title: HTTP get/post issue for first attempt
body: <p>I am trying to do HTTP get/post request. Even with a fresh install of Angular 4 using the CLI, I am facing an unusual problem. When I send get request for first attempt then it gives <code>undefined</code> on <code>console.log()</code>, though from 2nd attempt data shows normally. Same result on Laravel as a server and even on JSON file. But while printing fetched data it prints but after few seconds. But it is OK though.</p>
  
  <p>Same kind of problem arises on post request as well. Whenever form submits nothing happens on first attempt and shows some error on <code>console.log()</code> that server is not connected (something like that), and on second attempt it just submits normally as it should be.</p>
  
  <pre><code>this.http.get(path).subscribe(data =&gt; this.response = data);
  this.http.post(path, formData).subscribe(data =&gt; this.response = data);
  </code></pre>