AngularJS directive ng-hide hides an element if the expression ng-hide evaluates to true. Under the hood it adds or removes class ng-hide to the element. The .ng-hide CSS class is predefined in AngularJS and sets the display style to none (using an !important flag).