What is the difference between Promise and Observable in Angular?
An example on each would be helpful in understanding both the cases. In w
Both Promises and Observables help us dealing with asynchronous operations. They can call certain callbacks when these asynchronous operations are done.
Angular uses Observables which is from RxJS instead of promises for dealing with HTTP
Below are some important differences in promises & Observables.