ng-if 和 ng-show/ng-hide 之间的区别

ng-if会移除dom,生成dom,而ng-show只是改变其display属性。所以你自己看着用吧。

posted @ 2016-01-28 11:49  wikiki  阅读(159)  评论(0编辑  收藏  举报