title: Angular7 - Issue in path location strategy
body: <p>I'm working on the <strong>Angular7</strong> application where i'm using path location strategy instead of hash strategy.</p>
  
  <p>So my application url should be like <code>http://www.example.com/application/users</code></p>
  
  <p>While my old url is: <code>http://www.example.com/application/#/users</code></p>
  
  <p>Now the problem is, when i hit the url nothing is loading but if useHash is true then everything is fine.</p>
  
  <p>These steps i did:</p>
  
  <ul>
  <li><p>index.html - added   <code>&lt;base href="/"&gt;</code></p></li>
  <li><p>app-routing.module.ts - <code>imports: [RouterModule.forRoot(routes)]</code></p></li>
  <li><p><code>build scripts: "build:prod": "ng build --prod --aot --deploy-url=/application/",</code></p></li>
  </ul>
  
  <p>Can someone help?</p>