placed ng-repeat in correct spot