component: VideoListComponent,
data: {
meta: {
- titleSuffix: ' - Videos list'
+ title: 'Videos list'
}
}
},
component: VideoAddComponent,
data: {
meta: {
- titleSuffix: ' - Add a video'
+ title: 'Add a video'
}
}
},
+ {
+ path: ':id',
+ redirectTo: 'watch/:id'
+ },
{
path: 'watch/:id',
component: VideoWatchComponent