AngularJS: practice 51