fixed issue with ng-repeat duplicates