Updated for ng-repeat testing.