When we use AngularJS in any of our page, while rendering it on browser we happen to see flicker in HTML with uncompiled raw html. And once the AngularJS is compiled then it will show the compilled output. To avoid this flickering we can use ng-cloak.
This will hide all the html elements which are tagged with ng-cloak directive. While compilation angularjs will make the ng-cloak directive element visible.
ng-cloak directive is suggested to be applied in multiple small portions of the html page to permit progressive rendering of the browser view.
0 Comment(s)