Skip to content

Instantly share code, notes, and snippets.

@ZackDeRose
Created July 18, 2018 03:38
Show Gist options
  • Save ZackDeRose/e3064fa95742c0aa44808ddb5440f683 to your computer and use it in GitHub Desktop.
Save ZackDeRose/e3064fa95742c0aa44808ddb5440f683 to your computer and use it in GitHub Desktop.
App.Module for reactive forms for "Angular CDK Tables" article
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