AngularJS

AngularJS Directives

AngularJS Filters and Elements

AngularJS Tutorials

AngularJS ng hide Directive

AngularJS ng-hide Directive

 

 

The ng-hide directive hides the HTML element if the expression evaluates to true. It is a predefined CSS class and it set the element display to none.

 

Syntax:-

 

< element ng-hide="expression" >< /element > OR < element class="ng-hide" >< /element >

 

Further Explanation:-

 

Value Description
expression An expression that will hide the element if the expression returns true.

Code Explanation

All Tutorials related to AngularJS Directives

All Sections related to AngularJS