In AngularJS 1.3 there is a nice shorthand for
$q.defer(). In fact, it removes the need for calling
defer at all!
OMG and Holy Nightmares Batman! I have wanted this feature for sooo long. And this lesson shows me that the promise constructor is now available in 1.3...
Woot woot! :D