Force different ng-model do not equal to each other by a key.
Use it like this:
Each person's name won't pass the validator(thus will have a ng-error in its class) once it equals to another's.
Force different ng-model do not equal to each other by a key.
Use it like this:
Each person's name won't pass the validator(thus will have a ng-error in its class) once it equals to another's.
npm i ng-model-no-equal
0
0.0.1
MIT