As the saying goes, never trust user input. Angular has support for validation, including the standard required, min, max, and pattern, as well as custom validators.