Archives
-
My Thoughts on AngularJS 1.3 and 2.0
-
Cancelling Route Navigation in AngularJS
-
What’s “Right” with AngularJS?
There’s been a lot of discussion today on some email groups I’m involved with about a post titled What’s wrong with Angular.js. I’d recommend reading through the post first before continuing but in a nutshell it makes it sound as if AngularJS isn’t a viable framework and should never be used. It also critiques two-way data binding which I found interesting (and misguided). It’s definitely a controversial post with some comments that made me laugh and others that I agreed with completely or in part.
-
Creating Custom AngularJS Directives Part 7 – Creating a Unique Value Directive using $asyncValidators
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 Customer Manager Standard sample application that’s available on Github.