Question: what is the difference between subscribe and promise in angular?
Answer: The subscriber function is called by the system whenever a new subscriber subscribes to the observable. ... This is an important difference to promises, where after calling resolve the executor function is terminated. Promises can emit at most one value, whereas observables can emit any number of values.