ng-bind not evaluate the html till the page is loading. If we use the expression {{expression}} then the html is evaluated and the values are flicked momentarily. Alternate to resolve this situation we can use ng-cloak. And put this css into css file.
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
display: none !important;
}
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
display: none !important;
}
No comments:
Post a Comment