O'Reilly logo

Mastering AngularJS Directives by Josh Kurz

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

Chapter 7. Optimization and Code Quality

The demand for HTML5 applications has become greater and greater in the past few years. To create the utmost preferment and extendable website, a strong focus needs to be put on optimization and quality code. AngularJS helps us do both with its design pattern constructs, which offer the ability to reuse code in many different parts of an application.

AngularJS takes advantage of many different design patterns and allows you to make an organized application which can be easily extended and optimized. Some of the high-level design patterns include but are not limited to modules, factories, prototypes, singletons, and facades. These design patterns are used throughout the core of AngularJS, and their implementation ...

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