Going through the AngularJS book