Hi i would like to setValidity of input using an expression, but not a regEx, something like this
<input ng-model="number" required ng-valid="number / 2 > 14">
Is it possible i have complex function and i don't know how to convert it into regEx so i would like to use something like this. I try to use this library: https://github.com/turinggroup/angular-validator but it doesn't work at all :/