O'Reilly logo

Mastering Web Application Development with AngularJS by Pawel Kozlowski, Peter Bacon Darwin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

This chapter walked us through a set of patterns used to display data contained in the model.

We started by quickly covering directive's naming conventions and then moved to the overview of built-in AngularJS directives. The ng-repeat got special attention as it is the very powerful and one of the most frequently used directives.

While the DOM-based, declarative template, on which AngularJS is based, works perfectly most of the time, there are some corner cases where we hit the limits of this approach. It is important to recognize those situations and be prepared to slightly change target markup when necessary.

Filters offer a very convenient syntax for UI-specific model formatting. We saw that AngularJS provides several useful filters by ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required