Fix ng-dupes error