Closed wonderfan closed 8 years ago
ngIf
directive removes or recreates a portion of the DOM tree based on anngIf
evaluates to a falsengIf
differs from ngShow
and ngHide
in that ngIf
completely removes and recreates thedisplay
css property.
The source code: https://github.com/angular/angular.js/blob/master/src/ng/directive/ngIf.js