ngIf static variable

Hi,
is it anyhow possible to use *ngIf with an static variable?

Thanks in advance

No, the expression context in Angular is the component instance.

1 Like