I couldn\'t find an elegant way for setting null values with a using AngularJS.
null
HTML :
Can you try to use parseInt on the value? For example, both "1" and "0" will equal their respective integer values. If you run the empty string through parseInt you can easily get NaN.
parseInt
"1"
"0"
NaN
> parseInt("") = NaN > parseInt("0") === 0 > parseInt("1") === 1