nghide angular 10

JavaScript
// Just bind to the hidden property

[hidden]="!myVar"

Source

Also in JavaScript: