angular check form has errors code example Example: validation minlength angular Validators.minLength(9)