while using child routing in angular2 RC-4 getting this error
Cannot read property 'pathsWithParams' of undefined
my routing file contains
export const routes: RouterConfig = [
{ path: '', component: HomeComponent },
{ path: 'demo', component: DummyComponent },
{ path: 'user-profile', component: UserProfileComponent,
children:[
{ path: '', component: ProfileOverview },
{ path: 'smart-points', component: ProfileSmartPoints }
]},
]
any idea ?
update
The problem is actully whenever i use routerLinkActive
in the html side