Created
July 18, 2018 03:38
-
-
Save ZackDeRose/e3064fa95742c0aa44808ddb5440f683 to your computer and use it in GitHub Desktop.
App.Module for reactive forms for "Angular CDK Tables" article
This file contains hidden or 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 {CdkTableModule} from '@angular/cdk/table'; | |
import {FormsModule, ReactiveFormsModule} from '@angular/forms'; | |
import {NgbModule} from '@ng-bootstrap/ng-bootstrap'; | |
import { AppComponent } from './app.component'; | |
import { TableComponent } from './table/table.component'; | |
@NgModule({ | |
declarations: [ | |
AppComponent, | |
TableComponent | |
], | |
imports: [ | |
BrowserModule, | |
CdkTableModule, | |
NgbModule.forRoot(), | |
FormsModule, | |
ReactiveFormsModule | |
], | |
providers: [], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment