fixed usage of ng-repeat