YouTip LogoYouTip

Ng Ng Cloak

# AngularJS `ng-cloak` Directive [![Image 3: AngularJS Reference](#) AngularJS Reference](#) * * * ## AngularJS Example Prevent application flicker on page load:

{{ 5 + 5 }}

[Try it Β»](#) * * * ## Definition and Usage The **ng-cloak** directive is used to prevent issues that arise when an AngularJS application is loading, before the AngularJS code has fully loaded. When an AngularJS application loads, the document might display raw AngularJS code before it is fully loaded, causing a flickering effect. The **ng-cloak** directive is intended to prevent this problem from occurring. * * * ## Syntax Supported by all HTML elements. * * * ## Parameter Values The **ng-cloak** directive has no parameters. * * AngularJS Reference](#)
← Ionic GridIonic Select β†’