Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. RouterModule.forRoot([
  2. {
  3. path: 'templates',
  4. component: TemplateLandingComponent,
  5. children: [
  6. {path: 'main-templates', component: MainTemplateComponent}
  7. ]
  8. },
  9. ])
  10.  
  11. <li><a [routerLink]="['/templates']" [routerLinkActive]="'active'">Templates</a></li>
  12.  
  13. <li><a [routerLink]="['/templates/main-templates']" [routerLinkActive]="'active'">Active Templates</a></li>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement