@if (hasChildren) { } @else { } @if (node().icon) { } {{ node().label }}
@if (hasChildren && expanded()) {
@for (child of node().children; track child.id) { }
}