set default value for ngModel value

in case the model value is undefined