Javatpoint Logo
Javatpoint Logo

AngularJS ng-cloak Directive

The AngularJS ng-cloak directive is used to prevent the document from showing incomplete AngularJS code while your application is loading. This directive also prevents the undesirable flicker effects caused by the HTML template display when the application is being loaded.

This is supported by all HTML elements.


Let's take an example to demonstrate ng-cloak directive.

See this example:


Test it Now


Test it Now

Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA