angularjs中的ng-if

我想要右边这种效果,不明白为什么代码是这样的:

我觉得ng-if应该放在tr上的:

原文地址:https://www.cnblogs.com/wangchufang/p/8081059.html