Working through the AngularJS Book samples