Following the OReilly AngularJS book