title: How I add Headers to http.get or http.post in Typescript and angular 2?
body: <pre><code>getHeroes (): Observable&lt;Heros[]&gt; {
      return this.http.get(this.heroesUrl)
        .map(this.extractData)
        .catch(this.handleError);
    }
  </code></pre>
  
  <p>Where I add the headers and how? looking for a simple example.</p>