What is the difference between an observable and a promise?
Answer / Ritesh Sinha
Observables are a more powerful, flexible alternative to Promises. While Promises can only handle one value or an error, Observables can emit multiple values over time. Additionally, Observables have operators for manipulating and transforming data sequences, making them more versatile.
| Is This Answer Correct ? | 0 Yes | 0 No |
How looping has been done in AngularJS?
Explain what is key difference between angular expressions and JavaScript expressions?
What is an AsyncPipe in Angular?
What is deep linking in angular 4?
List the key components of angular 2?
What is the name of directive is used to bootstrap an angular app?
Explain event emitters in angular 2 and how it works?
Why is angular called angular?
Global variables in angularjs?
What is the use of $routeprovider in angularjs? What is $rootscope ?
What is angular compatibility compiler (ngcc) in angular 7?
What are events in angular?