The AngularJS ng-if directive is used to completely removes and recreates the element in the DOM if condition meet.
Syntax