2017-02-22 13:13:21 -05:00
|
|
|
// #docregion
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { FormsModule } from '@angular/forms';
|
2018-11-09 21:23:46 -05:00
|
|
|
import { HttpClientModule } from '@angular/common/http';
|
2017-02-22 13:13:21 -05:00
|
|
|
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
|
|
import { AppComponent } from './app.component';
|
|
|
|
import { CheckmarkPipe } from './core/checkmark/checkmark.pipe';
|
|
|
|
import { Phone } from './core/phone/phone.service';
|
|
|
|
import { PhoneDetailComponent } from './phone-detail/phone-detail.component';
|
|
|
|
import { PhoneListComponent } from './phone-list/phone-list.component';
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
FormsModule,
|
2018-11-09 21:23:46 -05:00
|
|
|
HttpClientModule,
|
2017-02-22 13:13:21 -05:00
|
|
|
AppRoutingModule
|
|
|
|
],
|
|
|
|
declarations: [
|
|
|
|
AppComponent,
|
|
|
|
PhoneListComponent,
|
|
|
|
CheckmarkPipe,
|
|
|
|
PhoneDetailComponent
|
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
Phone
|
|
|
|
],
|
|
|
|
// #docregion bootstrap
|
|
|
|
bootstrap: [ AppComponent ]
|
|
|
|
// #enddocregion bootstrap
|
|
|
|
})
|
|
|
|
export class AppModule {}
|