title: Angular2.1 Cannot read property 'get' of undefined
body: <p>So, I'm currently trying to send a HTTP request, I'm doing everything exactly like in <a href="https://angular.io/docs/ts/latest/tutorial/toh-pt6.html" rel="nofollow noreferrer">official guide</a> and it's wont work (as usual when you make deal with Angular2)</p>
  
  <p>Here is my app.module</p>
  
  <pre><code>import { NgModule }      from '@angular/core';
  import { BrowserModule } from '@angular/platform-browser';
  import { RouterModule, Routes }   from '@angular/router';
  import { HttpModule, JsonpModule } from '@angular/http';
  import { AppComponent }   from './app.component';
  import { PageComponent } from './modules/Affiliate/affiliate.component';
  import { NotFoundComponent }   from './not-found.component';
  
  
  const routes: Routes =
      [
          { path: 'page', component: PageComponent },
          { path: '404', component: NotFoundComponent },
          { path: '**', redirectTo: '404' }
      ];
  
  @NgModule({
      imports: [
          BrowserModule,
          RouterModule.forRoot(routes),
          HttpModule,
          JsonpModule
      ],
      declarations: [
          AppComponent,
      ],
      bootstrap: [ AppComponent ]
  })
  
  export class AppModule { }
  </code></pre>
  
  <p>And here is my service, where I'm trying to send a http request</p>
  
  <pre><code>import { Injectable } from '@angular/core';
  import { Headers, Http } from '@angular/http';
  import 'rxjs/add/operator/toPromise';
  
  @Injectable()
  export class GridService {
      constructor(private http: Http) { }
  
      getTableRaws(url): Promise&lt;any&gt; {
              return this.http.get(url)
                  .toPromise()
                  .then(response =&gt; response.json().data as any)
                  .catch(this.handleError);
      }
  
      private handleError(error: any): Promise&lt;any&gt; {
          console.error('An error occurred', error);
          return Promise.reject(error.message || error);
      }
  }
  </code></pre>
  
  <p>Any ideas, please</p>