Creating Custom AngularJS Directives Part 7 – Creating a Unique Value Directive using $asyncValidators
Creating Custom AngularJS Directives Series In a previous post I demonstrated how to build a unique value directive to ensure that an email address isn’t already in use before allowing a user to save a form. With changes in AngularJS 1.3+, several new features are available to clean up the previous version of the directive and make it easier to work with. In this post I’ll update the previous post, walk-through some of the new features in a directive called wcUnique, and show how a few of the new features can be applied. The code shown is part of the […]