title: Angular call to NodeJS+Express for a basic GET request
body: <p>I want to simply make a successful GET request to my NodeJS+Express server from an Angular component.</p>
  
  <p>someComponent.ts    </p>
  
  <pre><code>console.log("Before");
  // send to server
  console.log(this.http.get('/email').map((res:Response) =&gt; { 
    console.log("middle");
    return res; 
  }));
  console.log("After");
  </code></pre>
  
  <p>server.js</p>
  
  <pre><code>app.get('/email', function(req, res, next){
      res.send('GET email request');
  });
  </code></pre>
  
  <p>Chrome console output:</p>
  
  <pre><code>Before
  -&gt;t
     -&gt; operator: t(thisArg: undefined, project: f)
     -&gt; source: t {_isScalar: false, surce: t, operator t}
        _isScalar: false
     -&gt; __proto__: Object
  After
  </code></pre>
  
  <p>Can someone tell me if theres something wrong with this code? I don't think the callback function is executing because the console isn't outputting "middle". Also i dont know what kind of http response object this 't' is supposed to be in console. Shouldn't the correct console log be "GET email request" instead of this "t" object.</p>