angular training from the ng-book