We've taken a look at how validation works in AngularJS and how we can combine it with Bootstrap's styles to make our app more user friendly. Form validation was made easy with AngularJS's built-in directives and automatic validation of HTML5 inputs, such as
We were able to check the validity of our form on submission and display appropriate error messages and warnings should it have failed. While the built-in validators are great for most use cases, we also looked at how we could build our own via a directive.
With our application complete, we'll take a look at a few community-built tools in the next chapter to make our lives easier while working with AngularJS.