feat($q): add shorthand for defining promise error handlers
Now we can instead this
promise.then(null, errorHandler)
with this
promise.catch(errorhandler)
Closes #2048
Closes #3476 B
bolasblack committed
a207665dad69248139b150cd3fe8ba13059bffb4
Parent: b308742
Committed by Igor Minar <igor@angularjs.org>
on 8/9/2013, 4:02:58 PM