diff --git a/ng6-seed/src/app/app.module.ts b/ng6-seed/src/app/app.module.ts index 0669daea7..d57b29fcc 100644 --- a/ng6-seed/src/app/app.module.ts +++ b/ng6-seed/src/app/app.module.ts @@ -6,6 +6,8 @@ import { FormsModule } from '@angular/forms'; import { HttpModule, Http } from '@angular/http'; import { HttpClientModule, HttpClient, HTTP_INTERCEPTORS} from '@angular/common/http'; +import { LocationStrategy, HashLocationStrategy } from '@angular/common'; + import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar'; import { PERFECT_SCROLLBAR_CONFIG } from 'ngx-perfect-scrollbar'; import { PerfectScrollbarConfigInterface } from 'ngx-perfect-scrollbar'; @@ -86,6 +88,10 @@ const DEFAULT_PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = { FlexLayoutModule, ], providers: [ + { + provide: LocationStrategy, + useClass: HashLocationStrategy, + }, AwsService, TranslateService, // {