title: angular 2 router is not working on iphone device i have build using cordova
body: <p>I have createsimple angular2 project make ios build using <strong>cordova</strong> but my default <code>router</code> is not loading on <strong>iOS</strong> device it is working fine on browser and android device.Below is the my <code>app-routing.module.ts</code> and also i have set the <code>base href="/"</code> in <code>index.html</code> file</p>
  
  <pre><code>import { NgModule }             from '@angular/core';
  import { RouterModule, Routes } from '@angular/router';
  
  import { DashboardComponent }   from './dashboard.component';
  import { HeroesComponent }      from './heroes.component';
  import { HeroDetailComponent }  from './hero-detail.component';
  
  const routes: Routes = [
    { path: '', redirectTo: '/dashboard', pathMatch: 'full' },
    { path: 'dashboard',  component: DashboardComponent },
    { path: 'detail/:id', component: HeroDetailComponent },
    { path: 'heroes',     component: HeroesComponent }
  ];
  
  @NgModule({
    imports: [ RouterModule.forRoot(routes) ],
    exports: [ RouterModule ]
  })
  export class AppRoutingModule {}
  </code></pre>