angular input maxlength number code example Example: validation maxlength angular Validators.maxLength(11)