|
a |
|
b/frontend/src/app/app.module.ts |
|
|
1 |
import {NgModule} from '@angular/core'; |
|
|
2 |
import {BrowserModule} from '@angular/platform-browser'; |
|
|
3 |
|
|
|
4 |
import {AppRoutingModule} from './app-routing.module'; |
|
|
5 |
import {AppComponent} from './app.component'; |
|
|
6 |
import {RouterOutlet} from "@angular/router"; |
|
|
7 |
import {HomeComponent} from './components/home/home.component'; |
|
|
8 |
import {HeaderComponent} from './components/header/header.component'; |
|
|
9 |
import {NgIf, NgOptimizedImage} from "@angular/common"; |
|
|
10 |
import {HttpClientModule} from "@angular/common/http"; |
|
|
11 |
import {BrowserAnimationsModule} from "@angular/platform-browser/animations"; |
|
|
12 |
import {ToastrModule} from "ngx-toastr"; |
|
|
13 |
import {FormsModule} from "@angular/forms"; |
|
|
14 |
|
|
|
15 |
@NgModule({ |
|
|
16 |
declarations: [ |
|
|
17 |
AppComponent, |
|
|
18 |
HomeComponent, |
|
|
19 |
HeaderComponent |
|
|
20 |
], |
|
|
21 |
imports: [ |
|
|
22 |
BrowserModule, |
|
|
23 |
AppRoutingModule, |
|
|
24 |
HttpClientModule, |
|
|
25 |
ToastrModule.forRoot(), |
|
|
26 |
BrowserAnimationsModule, |
|
|
27 |
RouterOutlet, |
|
|
28 |
NgOptimizedImage, |
|
|
29 |
FormsModule, |
|
|
30 |
NgIf, |
|
|
31 |
], |
|
|
32 |
providers: [], |
|
|
33 |
bootstrap: [AppComponent] |
|
|
34 |
}) |
|
|
35 |
export class AppModule { |
|
|
36 |
} |