来源stackoverflow 区别:在验证html5时,ng-app会抛出一个错误,而对带data-前缀的特性不会抛出。其它方面这两个属性一样。 转载于:https://www.cnblogs.com/quan-quanquan/p/5898794.html