Uncheck a checkbox to remove a section:
<p>Welcome to my home.</p>
Definition and Usage
ng-if directive removes the HTML element if the expression evaluates to false.
If the if statement evaluates to true, a copy of the Element is added in the DOM.
ng-if directive is different from the ng-hide which hides the display of the element, were the ng-if directive completely removes the
element from the DOM.
Supported by all HTML elements.
|expression||An expression that will completely remove the element if it returns false. If it returns true, a copy of the element will be inserted instead.|