1 2 3 4 5
@for (item of items; track item.id) { <li>{{ item.name }}</li> } @empty { <p>No items</p> }