AngularJS provides
ngCloak directive to control the flickering issue when application is bootstrapping.
AngularJS adds the
ngCloak class to the element if the application is not bootstrapped and removes this class once the application is
bootstrapped and ready.
In this demo “
We will see the use of ngCloak usage to an application”.
Below code shows the uise of ngCloak usage.
<!DOCTYPE html>
<html ng-app="myApp">
<head>
<script...
Published on November 24, 2014 10:27