From Angular v17 and on, started including Control Flow for template logic.
https://angular.dev/guide/templates/control-flow
https://angular.dev/reference/migrations/control-flow
Tip
When you can use Control Flow over Structural Directive the compiled code output will be smaller since you will not need that component to import
CommonModule.