Project

General

Profile

1
import { BrowserModule } from '@angular/platform-browser';
2
import { NgModule } from '@angular/core';
3

    
4
import { AppRoutingModule } from './app-routing.module';
5
import { AppComponent } from './app.component';
6
import { ReusableComponentsModule } from './shared/reusablecomponents/reusable-components.module';
7
import { HomeComponent } from './pages/home/home.component';
8
import { DataService } from './services/data.service';
9
import { CountriesTableComponent } from './pages/home/countries-table.component';
10
import { DataViewComponent } from './pages/home/data-view.component';
11
import { HighchartsChartModule } from 'highcharts-angular';
12
import { CountriesMapOverviewComponent } from './pages/home/countries-map-overview.component';
13
import { CountryPageComponent } from './pages/countrypage/country-page.component';
14
import { CountryMapComponent } from './pages/countrypage/country-map.component';
15
import { GaugeChartComponent } from './pages/home/gauge-chart.component';
16
import { MethodologyPageComponent } from './pages/methodology/methodology.component';
17
import { ContinentOverviewComponent } from './pages/continentoverview/continent-overview.component';
18
import { EuropeMapOverviewComponent } from './pages/home/europe-map-overview.component';
19
import { DataHandlerService } from './services/data-handler.service';
20

    
21
import { NgxEchartsModule } from 'ngx-echarts';
22
import * as echarts from 'echarts';
23
import { AutocompleteLibModule } from 'angular-ng-autocomplete';
24
import { TopmenuComponent } from './shared/topmenu/top-menu.component';
25
import { TreemapHighchartsComponent } from './chart-components/treemap-highcharts/treemap-highcharts.component';
26

    
27
@NgModule({
28
  declarations: [
29
    AppComponent,
30
    HomeComponent,
31
    ContinentOverviewComponent,
32
    CountriesTableComponent,
33
    DataViewComponent,
34
    CountriesMapOverviewComponent,
35
    EuropeMapOverviewComponent,
36
    CountryPageComponent,
37
    CountryMapComponent,
38
    GaugeChartComponent,
39
    MethodologyPageComponent,
40
    TopmenuComponent,
41
    TreemapHighchartsComponent
42
  ],
43
  imports: [
44
    BrowserModule,
45
    AppRoutingModule,
46
    ReusableComponentsModule,
47
    // NgxEchartsModule.forRoot({
48
    //   echarts
49
    // }),
50
    NgxEchartsModule,
51
    HighchartsChartModule,
52
    AutocompleteLibModule
53
  ],
54
  providers: [
55
    DataService,
56
    DataHandlerService
57
  ],
58
  bootstrap: [AppComponent]
59
})
60
export class AppModule { }
(6-6/7)