différence entre ng-show et ng-if
//ng-if directive
ng-if can only render data whenever the condition is true.
It doesn’t have any rendered data until the condition is true.
//ng-show directive
ng-show can show and hide the rendered data, that is, it always kept the
rendered data and show or hide on the basis of that directives.
//ng-hide directive
ng-hide can show and hide the rendered data, that is,it always kept the
rendered data and show or hide on the basis of that directives.
Tiny Coders