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