$set('ngCloak', undefined); element.removeClass('ng-cloak'); } }); 在angular.js的最后一段代码中能看见前面所说的增加
ngApp ngBind ngBindHtmlUnsafe ngBindTemplate ngChange ngChecked ngClass ngClassEven ngClassOdd ngClick ngCloak
as ngClass, except they work in conjunction with ngRepeat and take effect only on odd (even) rows. ngCloak The ngCloak directive is used to prevent the Angular html template from being briefly displayed by the