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
$httpUsing promises with
$resourceUsing promises with Restangular
Incorporating promises into native route resolves
Implementing nested
ui-routerresolves