Test task on Angular JS