title: Get navigation error after ng build --prod in angular 7
body: <p>I am working with a very simple angular application.</p>
  
  <p>I have below routing file.</p>
  
  <pre><code>const routes: Routes = [
      {
          path: '',
          component: SelectFrameworkComponent
      }, {
          path: 'angular-4-bootstrap-3',
          component: AngularFourBootstrapThreeComponent
      }
  ];
  </code></pre>
  
  <p>That is working fine but when I make a build using <code>ng build --prod</code> and try to run index.html file locally after changing href to my dist folder <code>&lt;base href=""&gt;</code></p>
  
  <p>I am getting this error in console.</p>
  
  <pre><code>Unhandled Navigation Error:  main.eac436052bd523dffe9b.js
  </code></pre>