JavaScript Promises 102 – The 4 Promise Methods

As I covered in JavaScript Promises 101, a promise in JavaScript is an object that represents the result of an operation that hasn’t been completed yet, but will at some undetermined point in the future. The Promise object itself (i.e. not an object on the prototype) has four methods available to it – resolve() reject()… continue reading

All about $q and Promises in Angular

You’ve seen $q, maybe used it but haven’t uncovered some of the awesome features $q provides such as $q.all() and $q.race(). This article dives into ES2015 Promise API and how it maps across to $q for AngularJS. This post is all about $q, enjoy!