O'Reilly logo

Continuous Integration, Delivery, and Deployment by Sander Rossel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the Shopping cart page

Last, but not least, is the shopping cart. This page is a little different from the other pages, as it has some logic to it. On this page, we can increment a counter and delete items. If we had a backend, it would be possible to add items, but that is something for later chapters:

<div class="row" ng-hide="lines.length"> <div class="col-lg-12 text-center"> <p>There are no items in your shopping cart...</p> <p>You should do some shopping!</p> </div> </div> <div ng-repeat="line in lines"> <div class="thumbnail"> <div class="row"> <div class="col-lg-2"> <a href="product.html?id={{line.product.id}}"> <img src="http://placehold.it/150x150" alt="..." /> </a> </div> <div class="col-lg-7"> <div class="caption"> <a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required