Angular JS - task 2