ng-if
and ng-show
appear to function in a similar manner.
<img src="spinner.gif" ng-if="showSpinner">
<img src="spinner.gif" ng-show="showSpinner">
Are there any distinctions between the two? Is there an impact on performance? How can one determine when to use each properly?