removed search since there were issues with ngRepeat index