1import { NgModule } from '@angular/core';
2import { BrowserModule } from '@angular/platform-browser';
3import { AppComponent } from './app.component';
4import { HashLocationStrategy, LocationStrategy } from '@angular/common';
5@NgModule({
6 declarations: [AppComponent],
7 imports: [BrowserModule],
8 providers: [{provide: LocationStrategy, useClass: HashLocationStrategy}],
9 bootstrap: [AppComponent],
10})
11export class AppModule {}