June 2014
Intermediate to advanced
696 pages
38h 52m
English
When the order is complete, the user sees the orders view, which shows the user’s completed purchases. (There are other ways you can handle this part of the process. For example, you could add another page to display the completed order, or you could just send the user back to the shopping page.)
The orders view, shown in Listing 28.19, displays a list of orders that this customer has completed. The list comes from an ng-repeat directive on the $scope.orders value. The ng-repeat iteration lists the date the order was placed, the status, and the items bought, as shown in Figure 28.8.
Listing 28.19 orders.html: Implementing the partial orders view template
01 <div id="reviewContainer"> ...
Read now
Unlock full access