Category: ngMessages

A Closer Look at Angular’s ngMessages Module

This article was peer reviewed by Marc Towler and Stephan Max. Thanks to all of SitePoint’s peer reviewers for making SitePoint content the best it can be! Because of its ability to help developers craft better user experiences when building forms, the ngMessages module became a core directive with the release of Ang...

Easy Form Validation in AngularJS with ngMessages

Last fall, the ngMessages module was rolled out with the release of Angular 1.3. This added enhanced support for displaying messages to the user — typically error messages from form validation. Before the release of ngMessages, developers were forced to rely on directives such as ng-class and ng-show to display these...