how to implement breadcrumb using angular2's router

laifjei picture laifjei · Feb 23, 2016 · Viewed 10.2k times · Source

I use angular2 recently, but don't know how to implement breadcrumb component, any one can help?

<div class="row" style="padding-top:15px;">
   <ol class="breadcrumb">
      <li><a [how to?]>home</a></li>
      <li class="active">detail</li>
   </ol>
 </div>

Answer

G&#252;nter Z&#246;chbauer picture Günter Zöchbauer · Feb 23, 2016

Doesn't seem to be too easy currently.
There is an open issue to support this use-case https://github.com/angular/angular/issues/5318