Angular-Plugin does not find directives of CommonModule

Since a while I have an issue with angular templates. Within IntelliJ I get those errors:

Property ngIf is not provided by any applicable directive on an embedded template 

The whole project transpiles and starts perfectly, also through IntelliJ but within the view of the templates those errors are shown. Do you have an idea how to solve this?

IntelliJ IDEA 2023.1 (Ultimate Edition)
Build #IU-231.8109.175, built on March 28, 2023
Runtime version: 17.0.6+10-b829.5 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.3.0-1-amd64
Non-Bundled Plugins:
    intellij.haskell (1.0.0-beta88)

Kotlin: 231-1.8.20-IJ8109.175
Current Desktop: X-Cinnamon