Last active
April 17, 2019 10:50
-
-
Save alemohamad/74215316c0836978564fbdee2f097514 to your computer and use it in GitHub Desktop.
Angular 7 app module with forms module.
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 { AppRoutingModule } from './app-routing.module'; | |
import { AppComponent } from './app.component'; | |
import { ContactComponent } from './contact/contact.component'; | |
import { FormsModule } from '@angular/forms'; | |
@NgModule({ | |
declarations: [ | |
AppComponent, | |
ContactComponent | |
], | |
imports: [ | |
BrowserModule, | |
AppRoutingModule, | |
FormsModule | |
], | |
providers: [], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment