Angular 17, Ngif, Ngfor, Ngswitch, Razor.
the way, you can still access variables like $index, $first, $last, $even, $odd, and $count, which were available in the previous version. 3. switch statement: The switch structure can also be used with the following syntax: @switch (accessLevel) { @case ('admin') { <admin></admin>} @case ('user')