title: Angular 6 build, Error 404 Not Found when refresh page
body: <p>I have facing a problem <strong>404 page not found</strong> in production build when refresh a page.
  Build working fine with <code>#</code> routing <code>RouterModule.forRoot(routes, { useHash: true })</code>. But I want a pretty route without <code>#</code> </p>
  
  <p>My module look like </p>
  
  <pre><code>  @NgModule({
    declarations: [
      AppComponent
    ],
    imports: [
      BrowserModule,
      FormsModule,
      HttpClientModule,
      CoreModule,
      AppRoutingModule,
      AuthModule
    ],
    providers: [
      {
        provide: HTTP_INTERCEPTORS,
        useClass: HttpInterceptorService,
        multi: true
      }
    ],
    bootstrap: [AppComponent]
  })
  </code></pre>