<ol *ngIf="crumbs.length"
    class="breadcrumb">
  <li *ngFor="let crumb of crumbs; let last = last"
      [ngClass]="{ 'active': last && finished }"
      class="breadcrumb-item">
    <a *ngIf="!last && crumb.path !== null"
       [routerLink]="crumb.path"
       preserveFragment>{{ crumb.text }}</a>
    <span *ngIf="last || crumb.path === null">{{ crumb.text }}</span>
  </li>
</ol>
