
.l-main-section
  h2 httpInjectables <span class="type">variable</span>
  p.location-badge.
    exported from <a href='../http'>angular2/http</a>
    defined in <a href="https://github.com/angular/angular/tree/3a0410a/modules/angular2/http.ts#L39-L46">angular2/http.ts (line 39)</a>

  :markdown
    Provides a basic set of injectables to use the <a href='Http-class.html'><code>Http</code></a> service in any application.
    
    #Example
    
    ```
    import {httpInjectables, Http} from 'angular2/http';
    @Component({selector: 'http-app', appInjector: [httpInjectables]})
    @View({template: '{{data}}'})
    class MyApp {
      constructor(http:Http) {
        http.request('data.txt').subscribe(res => this.data = res.text());
      }
    }
    ```
    
    

