Focus First Invalid Input With Angular Forms
To add the logic to focus the first invalid input when the user submits, we will create an isolated directive.
To add the logic to focus the first invalid input when the user submits, we will create an isolated directive.