diff options
Diffstat (limited to 'src/app/app.module.ts')
-rw-r--r-- | src/app/app.module.ts | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 293f9af..c1b600d 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts | |||
@@ -1,24 +1,34 @@ | |||
1 | import { BrowserModule } from '@angular/platform-browser'; | 1 | import { BrowserModule } from '@angular/platform-browser'; |
2 | import { NgModule } from '@angular/core'; | 2 | import { NgModule } from '@angular/core'; |
3 | import { FormsModule } from '@angular/forms'; | 3 | import { FormsModule } from '@angular/forms'; |
4 | import { HttpClientModule } from '@angular/common/http'; | ||
4 | 5 | ||
5 | import { AppComponent } from './app.component'; | 6 | import { AppComponent } from './app.component'; |
6 | import { HeroesComponent } from './heroes/heroes.component'; | 7 | import { HeroesComponent } from './heroes/heroes.component'; |
7 | import { RestApisComponent } from './rest-apis/rest-apis.component'; | 8 | import { RestApisComponent } from './rest-apis/rest-apis.component'; |
8 | import { AppRoutingModule } from './/app-routing.module'; | 9 | import { AppRoutingModule } from './app-routing.module'; |
9 | import { MainPageComponent } from './main-page/main-page.component'; | 10 | import { MainPageComponent } from './main-page/main-page.component'; |
11 | import { IdentityPageComponent } from './identity-page/identity-page.component'; | ||
12 | import { CreateIdentityComponent } from './create-identity/create-identity.component'; | ||
13 | import { MyFilterPipe } from './filter.pipe'; | ||
14 | import { ErrorMessageComponent } from './error-message/error-message.component'; | ||
10 | 15 | ||
11 | @NgModule({ | 16 | @NgModule({ |
12 | declarations: [ | 17 | declarations: [ |
13 | AppComponent, | 18 | AppComponent, |
14 | HeroesComponent, | 19 | HeroesComponent, |
15 | RestApisComponent, | 20 | RestApisComponent, |
16 | MainPageComponent | 21 | MainPageComponent, |
22 | IdentityPageComponent, | ||
23 | CreateIdentityComponent, | ||
24 | MyFilterPipe, | ||
25 | ErrorMessageComponent | ||
17 | ], | 26 | ], |
18 | imports: [ | 27 | imports: [ |
19 | BrowserModule, | 28 | BrowserModule, |
20 | FormsModule, | 29 | FormsModule, |
21 | AppRoutingModule | 30 | AppRoutingModule, |
31 | HttpClientModule | ||
22 | ], | 32 | ], |
23 | providers: [], | 33 | providers: [], |
24 | bootstrap: [AppComponent] | 34 | bootstrap: [AppComponent] |