diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 3fab8fa..fb8d368 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -1,5 +1,5 @@ import { NgModule } from '@angular/core'; -import { HashLocationStrategy, LocationStrategy } from '@angular/common'; +import { PathLocationStrategy, LocationStrategy } from '@angular/common'; import { AppComponent } from './app.component'; import { AppRoutingModule } from './app-routing.module'; import { AppLayoutModule } from './layout/app.layout.module'; @@ -13,18 +13,18 @@ import { NodeService } from './demo/service/node.service'; import { PhotoService } from './demo/service/photo.service'; @NgModule({ - declarations: [ - AppComponent, NotfoundComponent - ], - imports: [ - AppRoutingModule, - AppLayoutModule - ], + declarations: [AppComponent, NotfoundComponent], + imports: [AppRoutingModule, AppLayoutModule], providers: [ - { provide: LocationStrategy, useClass: HashLocationStrategy }, - CountryService, CustomerService, EventService, IconService, NodeService, - PhotoService, ProductService + { provide: LocationStrategy, useClass: PathLocationStrategy }, + CountryService, + CustomerService, + EventService, + IconService, + NodeService, + PhotoService, + ProductService, ], - bootstrap: [AppComponent] + bootstrap: [AppComponent], }) -export class AppModule { } +export class AppModule {}