h1 id="-q-constructor">$q constructor</h1>
<p>The streamlined ES6 style promise is essentially just using $q as a constructor which takes a <code>resolver</code>
function as the first argument. This is similar to the native Promise implementation from ES6 Harmony,
see <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise">MDN</a>.</p>
<p>While the constructor-style use is supported, not all of the supporting methods from ES6 Harmony promises are
available yet.</p>