-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapp.module.ts
More file actions
35 lines (31 loc) · 1.13 KB
/
app.module.ts
File metadata and controls
35 lines (31 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http'
import { ContactService } from './services/contact.service'
import { AppComponent } from './app.component';
import { ContactFormComponent } from './components/contact-form/contact-form.component';
import { HeaderComponent } from './components/blocks/header/header.component';
import { ToDosComponent } from './components/blocks/to-dos/to-dos.component';
import { DocComponent } from './components/blocks/doc/doc.component';
import { ContactAddressComponent } from './components/contact-address/contact-address.component';
import { ApiContactPipe } from './pipes/api-contact.pipe';
@NgModule({
declarations: [
AppComponent,
ContactFormComponent,
HeaderComponent,
ToDosComponent,
DocComponent,
ContactAddressComponent,
ApiContactPipe
],
imports: [
BrowserModule,
FormsModule,
HttpClientModule
],
providers: [ContactService, ApiContactPipe],
bootstrap: [AppComponent]
})
export class AppModule { }