ng-show in angular 2 code example
Example 1: nghide angular 10
// Just bind to the hidden property
[hidden]="!myVar"
Example 2: ngshow
<div ng-show="myVar">stuff</div>
// Just bind to the hidden property
[hidden]="!myVar"
<div ng-show="myVar">stuff</div>