title: When to favor ng-if vs. ng-show/ng-hide?
body: <p>I understand that <code>ng-show</code> and <code>ng-hide</code> affect the class set on an element and that <code>ng-if</code> controls whether an element is rendered as part of the DOM. </p>
  
  <p><strong>Are there guidelines on choosing <code>ng-if</code> over <code>ng-show</code>/<code>ng-hide</code> or vice-versa?</strong></p>