import { CommonModule } from '@angular/common';
import { BrowserModule } from '@angular/platform-browser';
import { HttpModule } from '@angular/http';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { ChartModule } from 'angular2-highcharts';

import { RealtimeStatisticComponent } from './realtime-statistic.component';

// Import sub Components
import { RealtimeStreetComponent } from './sub-component/realtime-street.component';

// Import services
import { StreetService } from '../../service/street-service';
import { CSSHelper } from '../../utils/css.helper';

@NgModule({
    imports: [
        BrowserModule,
    	RouterModule,
    	HttpModule,
        ChartModule
    ],
    declarations: [
    	RealtimeStatisticComponent,
    	RealtimeStreetComponent
    ],
    exports: [RealtimeStatisticComponent],
    providers: [
        StreetService,
        CSSHelper
    ]
})

export class RealtimeStatisticModule { }

import { CommonModule } from '@angular/common';
import { FormsModule }   from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';
import { HttpModule } from '@angular/http';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { ChartModule } from 'angular2-highcharts';

import { RealtimeStatisticComponent } from './realtime-statistic.component';

// Import sub Components
import { RealtimeStreetComponent } from './sub-component/realtime-street.component';
import { MinimapComponent } from './sub-component/minimap.component';
import { Typeahead } from 'ng2-typeahead';

// Import services
import { StreetService } from '../../service/street-service';
import { CameraService } from '../../service/camera-service';
import { CSSHelper } from '../../utils/css.helper';

@NgModule({
    imports: [
        BrowserModule,
    	RouterModule,
    	HttpModule,
        ChartModule, 
        FormsModule
    ],
    declarations: [
    	RealtimeStatisticComponent,
    	RealtimeStreetComponent,
        MinimapComponent,
        Typeahead
    ],
    exports: [RealtimeStatisticComponent],
    providers: [
        StreetService,
        CameraService,
        CSSHelper
    ]
})

export class RealtimeStatisticModule { }

Add minimap, typeahead (autocomplete for search bar) component
Add minimap, typeahead (autocomplete for search bar) component
