implement another way of ng-repeat