To add the logic to focus the first invalid input when the user submits, we will create an isolated directive.