docs: update examples region to match the description in the guide (#29259)

PR Close #29259
This commit is contained in:
Vani
2019-03-12 11:33:48 -07:00
committed by Jason Aden
parent afd4a4ed4d
commit ddb935fac7
3 changed files with 5 additions and 9 deletions

View File

@ -3,7 +3,9 @@
<ul class="items">
<li *ngFor="let hero of heroes$ | async">
<!-- #docregion nav-to-detail -->
<!-- #docregion link-parameters-array -->
<a [routerLink]="['/hero', hero.id]">
<!-- #enddocregion link-parameters-array -->
<span class="badge">{{ hero.id }}</span>{{ hero.name }}
</a>
<!-- #enddocregion nav-to-detail -->

View File

@ -28,9 +28,3 @@ export class HeroListComponent implements OnInit {
}
}
// #enddocregion
/* A link parameters array
// #docregion link-parameters-array
['/hero', hero.id] // { 15 }
// #enddocregion link-parameters-array
*/