title: angular 404 for files on refresh
body: <p>So I know this question gets asked a lot but I've got a weird one here, I have two angular projects both running version 6.1.1,</p>
  <p>Project A doesn't have hash and I'm trying to get Project B to also not use hash in the URL, I've matched everything I can and both projects run using npm run start using a basic node server, however Project B keeps throwing 404 if I refresh the site when I've navigated down the route</p>
  <p>e.g http://localhost:9876/category/books</p>
  <p>On Project A I can refresh the page on subroutes and the asset files are still being requested from the root.</p>
  <p>I've read all the post where you change web config or htaccess but I am just using ng serve to run both projects.  I can't track down what the difference between the two projects is that makes it work for A but not B.</p>
  <p>The only thing left I can spot is that the apps.routing.ts in the working project A uses LoadChildren './views/users/users.module#UsersModule'</p>
  <p>Project B uses a standard route</p>
  <p>{
  path: 'category/:catId/subcategory/:id/:name',
  component: SubCategoryComponent,
  data: {
  title: 'Browse [name]'
  }
  }</p>
  <p>I realise once deployed I could set the webconfig/htaccess but I just want it working during dev time using ng serve.</p>
  <p>Thanks a lot for the help!</p>