title: Angular parameters only work on a subfolder, not on root level
body: <p>I have an issue with using parameters - they only work on a sub-folder.</p>
  <p>When I test my code on localhost:1234 then the ID does not work.
  When running it on the server, it works in a sub-folder, meaning this will work:
  <a href="http://www.somewhere.com/development/signin/1234" rel="nofollow noreferrer">www.somewhere.com/development/signin/1234</a>
  but this will not work
  <a href="http://www.somewhere.com/signin/1234" rel="nofollow noreferrer">www.somewhere.com/signin/1234</a></p>
  <p>I have 2 of these in my system, and both act the same. When opened from within the code, it works, but having it as a link on an email or just entering the address manually, it will not work.
  Only when using a subfolder such as /development it will work.</p>
  <p>This is easy to replicate - in any system, go to the point, where you open an item with an ID - e.g. viewitem/1234 - once open press ctrl+f5. In my case angular stops working and the page goes blank</p>
  <p>Why is this?</p>
  <p>The hole file is:</p>
  <pre><code>export const appRoutes: Routes = [
    {
      path: 'signin/:id',
      component: SigninComponent,
      data: {
        title: 'Login',
        subtitle: ''
      }
    },
    {
      path: 'signin',
      component: SigninComponent,
      data: {
        title: 'Login',
        subtitle: ''
      }
    },
    {
      path: 'main',
      component: MainPageComponent,
      canActivate: [SigninGuard],
      data: {
        title: 'Main page',
        subtitle: ''
      }
    },  
    {
      path: 'item/:id',
      canActivate: [SigninGuard],
      component: DetailsComponent,
      data: {
        title: 'ItemDetails',
      }
    },
    {
      path: 'report',
      component: ReportComponent,
      canActivate: [SigninGuard],
      data: {
        title: 'Status Report',
      }
    },
    {
      path: '',
      redirectTo: '/main',
      pathMatch: 'full'
    },
    {
      path: '**',
      component: NotFoundComponent,
      data: { title: '404' }
    }
  ];
  
  @NgModule({
    imports: [
      RouterModule.forRoot(appRoutes, {initialNavigation: true})
    ],
    exports: [RouterModule]
  })
  
  export class AppRoutingModule { }
  </code></pre>