Angular.js Promises – Deferred and Promise handling
A promise is an object that represents the return value or the thrown exception that the function may eventually provide. A promise can also be used as a proxy for a remote object to overcome latency. Promises are highly useful when you wish to synchronize multiple asynchronous functions and also want to avoid Javascript callback hell. […]