@for (tab of tabs(); track tab.id) { @if (tab.icon) { } {{ tab.label }} @if (tab.badge !== undefined && tab.badge !== null) { {{ tab.badge }} } }