app.module.ts 1.85 KB
Newer Older
David Anderson's avatar
David Anderson committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import { NgModule } from '@angular/core';
import { FlexLayoutModule } from '@angular/flex-layout';
import { FormsModule } from '@angular/forms';
import { MatCardModule } from '@angular/material/card';
import { MatToolbarModule } from '@angular/material/toolbar';
import { BrowserModule } from '@angular/platform-browser';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { AreaChartDemoComponent } from './areachart-demo/areachart-demo.component';
import { BarChartDemoComponent } from './barchart-demo/barchart-demo.component';
import { BoxplotDemoComponent } from './boxplot-demo/boxplot-demo.component';
import { DemoAppComponent } from './demo-app/demo-app.component';
import { HeatmapChartDemoComponent } from './heatmapchart-demo/heatmapchart-demo.component';
import { LineChartDemoComponent } from './linechart-demo/linechart-demo.component';
import { RadialChartDemoComponent } from './radialchart-demo/radialchart-demo.component';
import { ResizeableChartDemoComponent } from './resizeable-demo/resizeable-demo.component';
import { ScatterChartDemoComponent } from './scatterchart-demo/scatterchart-demo.component';
import { ZoomPanDemoComponent } from './zoom-pan-demo/zoom-pan-demo.component';

const materialItems = [ MatToolbarModule, MatCardModule ];

@NgModule( {
  declarations: [
    AppComponent,
    AreaChartDemoComponent,
    BarChartDemoComponent,
    BoxplotDemoComponent,
    DemoAppComponent,
    HeatmapChartDemoComponent,
    LineChartDemoComponent,
    RadialChartDemoComponent,
    ScatterChartDemoComponent,
    ResizeableChartDemoComponent,
    ZoomPanDemoComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    AppRoutingModule,
    FlexLayoutModule
  ].concat( materialItems ),
  exports: materialItems,
  providers: [],
  bootstrap: [ AppComponent ]
} )
export class AppModule { }