有没有办法删除在AngularJS生成的HTML中动态添加的ng-scope和ng-binding属性值?
<tr ng-repeat="student in students" ng-class="isGrey[$index]" ng-click="toggleClass($index)" class="ng-scope">
<td class="ng-binding">1</td>
<td class="ng-binding">Mahesh</td>
<td class="ng-binding">Sapkal</td>
</tr>
答案 0 :(得分:16)
是,
myApp.config(['$compileProvider', function ($compileProvider) {
$compileProvider.debugInfoEnabled(false);
}]);