By default Angular is using HTML5 routing (like https://shop.example.com/products/ab34e). If you wish you can switch easliy switch to Hash based routing (https://shop.example.com/#/products/ab34e).
in app.module.ts
import { LocationStrategy, HashLocationStrategy } from '@angular/common';
@NgModule ({
...
providers: [
{ provide: LocationStrategy, useClass: HashLocationStrategy }
]
...
})