AngularJS stop flickering of your Templates {{ on load }}

Don’t you hate it when the page flickers when it’s loading?!? Of course you can implement a loading screen or image but there is an easier way with AngularJS. You can use ng-cloak class to stop that flickering of your Templates when your page is loading.

Typically you might apply the class to an element such as alert.

OR template with IE Support:

But this also works on the body! 🙂

Nice.

Sam is a web developer, online entrepreneur and investor. In his spare time he enjoys coding, playing chess and love to share what he learns.

Leave a Reply

Your email address will not be published. Required fields are marked *