Angular 404 na odświeżaniu

Use HashLocation strategy.
Add to top level module
import { HashLocationStrategy, LocationStrategy } from '@angular/common';
providers: [{provide: LocationStrategy, useClass: HashLocationStrategy}],
PopKeys the coding man