ngShow
(directive in module ng
)
The ngShow
and ngHide
directives show or hide a portion of the DOM tree (HTML)
conditionally.
<ANY ng-show="{expression}"> ... </ANY>as class
<ANY class="ng-show: {expression};"> ... </ANY>
ngShow – {expression} –
If the expression is truthy then the element is shown or hidden respectively.