What is a promise in angular?



What is a promise in angular?..

Answer / Lokesh Chauhan

A Promise in Angular represents the eventual completion (or failure) of an asynchronous operation. It allows developers to write cleaner and more manageable code by handling success or error conditions with callbacks.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is the difference between the $watch, $digest, and $ apply?

1 Answers  


What is lazy loading in angular?

1 Answers  


What the best way to inject one service into another in angular 2?

1 Answers  


When will nginit be called?

1 Answers  


What is the meaning of aot?

1 Answers  


What are the modules in angularjs?

1 Answers  


What are the components?

1 Answers  


What is component in angularjs 2 ?

1 Answers  


What is the difference between typescript and angular?

1 Answers  


What is template reference variable in angular?

1 Answers  


Explain AngularJS scope life-cycle?

1 Answers  


Mention what are the styling form that model adds to css classes?

1 Answers  


Categories