Differentiate between Observables and Promises?
Answer / Dhan Pal Sahu
Observables are a higher-order function provided by RxJS that pushes data to subscribers. Unlike Promises, which resolve once with a single value or an error, Observables can emit multiple values over time (observing asynchronous data streams).
| Is This Answer Correct ? | 0 Yes | 0 No |
What is singleton pattern and where we can find it in angularjs?
What are event emitters and how it works in angular 2?
What is the use of factory method in angularjs?
Wht do we use directive?
What is primitive data type?
How is SPA (Single Page Application) technology different from the traditional web technology?
Why to use “$http” in AngularJS?
What are Expressions in AngularJS?
What are the modules in angular 2?
What are the security threats should we be aware of in angular 2 application?
When creating a directive, it can be used in several different ways in the view. Which ways for using a directive do you know? How do you define the way your directive will be used?
What are angular 2 directive?