move to ng-repeat in teplate