New in Angular 1.3 - $q constructor

Kent C. Dodds
InstructorKent C. Dodds

Share this video with your friends

Send Tweet

In AngularJS 1.3 there is a nice shorthand for $q.defer(). In fact, it removes the need for calling defer at all!

Thomas Burleson
Thomas Burleson
~ 6 years ago

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...

Kent C. Dodds
Kent C. Doddsinstructor
~ 6 years ago

Woot woot! :D