add ng-repeat code back