Angular Performance: ng-show vs ng-if

You’ve probably come across ng-if and ng-show and wondered why they both exist and what’s the difference between them. After all they usually have the same behavior as far as the user is concerned. The devil is in the details