import { NgModule } from '@angular/core' ; import { BrowserModule } from '@angular/platform-browser' ; import { RouterModule } from '@angular/router' ; import { DvModule , GATEWAY_URL , USED_CONCEPTS_CONFIG } from '@deja-vu/core' ; import { AppComponent } from './app.component' ; import { GeolocationModule } from './geolocation/geolocation.module' ; const usedConceptsConfig = { geolocation : { config : { mapType : 'leaflet' } } } ; @ NgModule ( { declarations : [ AppComponent ] , imports : [ BrowserModule , GeolocationModule , RouterModule . forRoot ( [ ] ) , DvModule ] , providers : [ { provide : GATEWAY_URL , useValue : 'localhost:3000/api' } , { provide : USED_CONCEPTS_CONFIG , useValue : usedConceptsConfig } ] , bootstrap : [ AppComponent ] } ) export class AppModule { }