Explain the ng-if directive.

ng-if conditionally displays an element based on a Boolean expression.

<p ng-if="isVisible">This text is conditionally visible.</p>