26
src/app.module.ts
Normal file
26
src/app.module.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
import { LocationStrategy, HashLocationStrategy } from '@angular/common';
|
||||
|
||||
import { APP_ROUTER_PROVIDERS } from './main-app.routes';
|
||||
|
||||
import { DataProviderService } from './services/data-provider.service';
|
||||
import { MapperService } from './services/mapper.service';
|
||||
|
||||
import { MainAppComponent } from './main-app.component';
|
||||
import { KeymapComponent } from './components/keymap/keymap.component';
|
||||
import { MacroComponent } from './components/macro/macro.component';
|
||||
import { LegacyLoaderComponent } from './components/legacy/legacy-loader.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [MainAppComponent, KeymapComponent, MacroComponent, LegacyLoaderComponent],
|
||||
imports: [BrowserModule],
|
||||
providers: [
|
||||
DataProviderService,
|
||||
MapperService,
|
||||
APP_ROUTER_PROVIDERS,
|
||||
{ provide: LocationStrategy, useClass: HashLocationStrategy }
|
||||
],
|
||||
bootstrap: [MainAppComponent]
|
||||
})
|
||||
export class AppModule { }
|
||||
Reference in New Issue
Block a user