Duration: 19:52 min
Summary: In this lesson, we will discuss the input tag and the angular directives associated with it. For that, we will create a form that asks for the user’s name and favorite language. At the beginning though, we will start with the module and the controller. In the controller, we will create a person object with properties so we can bind to the elements in the form. We will add the required, min length, and max length directives to the fields. We will also create spans that will only show if the field is not valid. At the end, we will load the F12 tools to see how the CSS classes are changing dynamically as I am changing the content of the form.