Code samples for the Learning AngularJS book.