angular check if input field touched using ngmodel code example Example: validation minlength angular Validators.minLength(9)