Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export let ARTICLE_ROUTES: Routes = [
- {
- path: 'article/:id', component: ArticleComponent,
- children: [
- {path: '', component: ArticleContentComponent, pathMatch: 'full'},
- {path: ':detailId', component: ArticleContentComponent}
- ]
- }
- ];
- <a [routerLink]="[section.id]">{{section.title}}</a>
- this.router.navigate([sectionId], { relativeTo: this.route});
- this._activatedRoute.params.subscribe(p => this.loadMovie(p["id"]));
Add Comment
Please, Sign In to add comment