if statement in angularjs code example Example: ng-if Click me: Show when checked: This is removed when the checkbox is unchecked.