diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 72d17a2..71e2024 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -1,3 +1,4 @@ +import {HttpClientModule} from '@angular/common/http'; import {BrowserModule} from '@angular/platform-browser'; import {NgModule} from '@angular/core'; import {ContactFormComponent} from './components/contact-form/contact-form.component'; @@ -25,38 +26,7 @@ import {ConsoleComponent} from './components/console/console.component'; BrowserModule, BrowserAnimationsModule, FormsModule, - MaterialModule, - ], - bootstrap: [AppComponent] -}) -export class AppModule { } -import {BrowserModule} from '@angular/platform-browser'; -import {NgModule} from '@angular/core'; -import {ContactFormComponent} from './components/contact-form/contact-form.component'; -import {HomeComponent} from './views/home/home.component'; -import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; -import {MaterialModule} from './material.module'; -import {FormsModule} from '@angular/forms'; -import {TypewriterComponent} from './components/typewriter/typewriter.component'; -import {SlideShowComponent} from './components/slideShow/slideShow.component'; -import {AppComponent} from './views/app/app.component'; -import {AppRouting} from './app.routing'; -import {ConsoleComponent} from './components/console/console.component'; - -@NgModule({ - declarations: [ - AppComponent, - ConsoleComponent, - ContactFormComponent, - HomeComponent, - SlideShowComponent, - TypewriterComponent - ], - imports: [ - AppRouting, - BrowserModule, - BrowserAnimationsModule, - FormsModule, + HttpClientModule, MaterialModule, ], bootstrap: [AppComponent] diff --git a/src/app/components/contact-form/contact-form.component.html b/src/app/components/contact-form/contact-form.component.html index 9fe2471..0fa3f59 100644 --- a/src/app/components/contact-form/contact-form.component.html +++ b/src/app/components/contact-form/contact-form.component.html @@ -1,4 +1,6 @@