Implemented angular uniqueness check directive for form inputs