add capability for working on non-ngModel inputs