Angularjs: practice 56 - improved 2