@for (breadcrumb of beforeOverflow; track breadcrumb; let last = $last) { @if (breadcrumb.route) { } @if (!breadcrumb.route) { } @if (!last) { } } @if (hasOverflow) { @if (beforeOverflow.length > 0) { } @for (breadcrumb of overflow; track breadcrumb) { @if (breadcrumb.route) { } @if (!breadcrumb.route) { } } @for (breadcrumb of afterOverflow; track breadcrumb; let last = $last) { @if (breadcrumb.route) { } @if (!breadcrumb.route) { } @if (!last) { } } }