AngularJS: Practice 35 and 36