Chapter 8. Promises
In this chapter, we will cover the following recipes:
Understanding and implementing a basic promise
Chaining promises and promise handlers
Implementing promise notifications
Implementing promise barriers with
$q.all()
Creating promise wrappers with
$q.when()
Using promises with
$http
Using promises with
$resource
Using promises with Restangular
Incorporating promises into native route resolves
Implementing nested
ui-router
resolves