Required Error: {{myForm.sample.$error.required}}
Min Length Error: {{myForm.sample.$error.minlength}}
Max Length Error: {{myForm.sample.$error.maxlength}}
Pattern Error: {{myForm.sample.$error.pattern}}
Element Valid: {{myForm.sample.$valid}}