AngularJS books chapter04 examples