Testing Data Managment and ng-repeat