Skip to content

Instantly share code, notes, and snippets.

@sonicoder86
Created June 24, 2016 10:54
Show Gist options
  • Save sonicoder86/0744bce12bb4395f1d974ebd3857c684 to your computer and use it in GitHub Desktop.
Save sonicoder86/0744bce12bb4395f1d974ebd3857c684 to your computer and use it in GitHub Desktop.
Upgrading to the new Angular 2 router - part 5
<a [routerLink]="['/Heroes']">Heroes</a>
<a [routerLink]="['/HeroDetail', { id: 1 }]">Captain America</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment