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.

Syntax:

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

See this example:

Example1:

Test it Now

Example2:

Test it Now




Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA