Now allow required attribute which allows you to do form validation on the directive
required directive uses the name attribute to handle how users can handle the validation, using formName.name.$error.required.
Now allow required attribute which allows you to do form validation on the directive
required directive uses the name attribute to handle how users can handle the validation, using formName.name.$error.required.