placed ng-repeat command in correct spot