ng-show/ng-hide hide and show the DOM element according to the condition. but ng-if remove the dom element.