fix(ng-model): Allow ng-required to work on non-strings.