ngHide (directive in module ng )

Description

The ngHide and ngShow directives hide or show a portion of the HTML conditionally.

Usage

as attribute
<ANY ng-hide="{expression}">
   ...
</ANY>
as class
<ANY class="ng-hide: {expression};">
   ...
</ANY>

Parameters

Example

Source





Demo