diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 3fab8fa..0851df2 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 { HashLocationStrategy, LocationStrategy, PathLocationStrategy } from '@angular/common'; import { AppComponent } from './app.component'; import { AppRoutingModule } from './app-routing.module'; import { AppLayoutModule } from './layout/app.layout.module'; @@ -21,7 +21,7 @@ import { PhotoService } from './demo/service/photo.service'; AppLayoutModule ], providers: [ - { provide: LocationStrategy, useClass: HashLocationStrategy }, + { provide: LocationStrategy, useClass: PathLocationStrategy }, CountryService, CustomerService, EventService, IconService, NodeService, PhotoService, ProductService ],