AstroVed interview question

Directives in angular, difference between ng-if and ng-hide.