I'm trying to make a range validation between 2 numeric inputs. The inputs represent base remuneration
and top remuneration
. I tried to use ui-validate-watch like this: http://jsfiddle.net/GNJP4/3/. The problem is that basically lowerBound
is not updated correctly (same with upperBound
)
If you have an idea to make a work around or use directives (I tried but is a mess) would be much appreciated.