Pulse7
9/20/2017 - 7:36 PM

Imports tour of heroes

import { NgModule }      from '@angular/core'; // @NgModule()
import { Component }     from '@angular/core'; // @Component()
import { Input }         from '@angular/core'; // <-- @Input() field:string;
import { Injectable }    from '@angular/core'; // <-- @Injectable() class MyService{}
import { OnInit }        from '@angular/core'; // <-- interface OnInit

import { FormsModule }   from '@angular/forms'; // <-- NgModel 
 
import { RouterModule }  from '@angular/router'; 
import { Routes }        from '@angular/router';
import { ActivatedRoute} from '@angular/router';
import { ParamMap }      from '@angular/router';
import { Router }        from '@angular/router';

import { Location }      from '@angular/common';

import { HttpModule }    from '@angular/http';
import { Headers}        from '@angular/http';
import { Http }          from '@angular/http';

import { InMemoryWebApiModule } from 'angular-in-memory-web-api';
import { InMemoryDbService } from 'angular-in-memory-web-api';

import { Observable }    from 'rxjs/Observable';
import { Subject }       from 'rxjs/Subject';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/switchMap';
import 'rxjs/add/operator/toPromise';
import 'rxjs/add/observable/of';
import 'rxjs/add/operator/catch';
import 'rxjs/add/operator/debounceTime';
import 'rxjs/add/operator/distinctUntilChanged';