adding unique identifier. fixing duplicates inside the ng-repeat bug.