Using IntelliJ IDEA 2024.3.3 (Ultimate Edition) and the bundled Angular Plugin 243.24978.46
The IDE does not know any Angular specific blocks like @if
or @for
anymore and shows them as errors.
Try upgrading to latest version 251.23536.34
The workspace should have the same version of angular as the projects and libraries.