The ngShow directive shows or hides the given HTML element based on the expression provided to the ngShow attribute. The element is shown or hidden by removing or adding the . ng-hide CSS class onto the element. The . ng-hide CSS class is predefined in AngularJS and sets the display style to none (using an !