What is ng-cloak directive and why we use?



What is ng-cloak directive and why we use?..

Answer / Anoo Sonker

The 'ng-cloak' directive in AngularJS hides new HTML elements until the AngularJS compiler finishes processing them. This helps to prevent a brief flash of unformatted content (often referred to as 'flicker') that can occur when an AngularJS application loads.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

Explain ngif directive ?

1 Answers  


Why would you use a service over a factory?

1 Answers  


What is @outputs in angular?

1 Answers  


What is a component angular?

1 Answers  


What is dependency injection (di)? Why use?

1 Answers  


What is the ng in angular?

1 Answers  


How does a controller work?

1 Answers  


Explain the concept of scope hierarchy?

1 Answers  


What is the difference between $http and $resource?

1 Answers  


What is angular ui?

1 Answers  


How AngularJS is compiled?

2 Answers  


What is the difference between a provider, a service and a factory in angular?

1 Answers  


Categories