Created
September 29, 2020 22:44
-
-
Save vorpal56/6a92958a03bade9a77cb96a636c04f9e to your computer and use it in GitHub Desktop.
Contact form without a server using Angular - app.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule } from '@angular/core'; | |
import { AppComponent } from './app.component'; | |
import { ContactComponent } from './contact/contact.component'; | |
import { ReactiveFormsModule } from '@angular/forms'; | |
import { HttpClientModule } from "@angular/common/http"; | |
import { NoopAnimationsModule } from '@angular/platform-browser/animations'; | |
import { MatInputModule } from "@angular/material/input"; | |
import { BrowserAnimationsModule } from "@angular/platform-browser/animations"; | |
@NgModule({ | |
declarations: [ | |
AppComponent, | |
ContactComponent | |
], | |
imports: [ | |
BrowserModule, | |
ReactiveFormsModule, | |
HttpClientModule, | |
NoopAnimationsModule, | |
MatInputModule, | |
BrowserAnimationsModule | |
], | |
providers: [], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment