The AngularJS $q service is said to be inspired by Chris Kowal's Q library (http://ift.tt/10Rvjw3). The library's goal is to allow users to monitor asynchronous progress by providing a "promise" as a return from a call. In AngularJS, the semantics of using a promise are:
Full article