updating ngModel with
ch17: get the unformatted ngModel and changing with function on
ch17: setting custom validation in