Chapter 2. Building an Amazing Store Frontend with AngularJS

The tagline for AngularJS is: HTML enhanced for web apps!, and it does exactly that. It extends the HTML code with 'directives' like attributes, new tags, classes, and comments. These directives bind the HTML elements to AngularJS code and change the default behavior of the element. AngularJS differs from unobtrusive frameworks such as jQuery and BackboneJS in that the bindings are through HTML extensions (directives) rather than ID and CSS selectors. This approach alleviates the code complexity and readability that comes with the more traditional JS frameworks. The AngularJS framework first appeared in 2009 and quickly became one of the most popular JavaScript frameworks. Finally, AngularJS ...

Get Web Application Development with MEAN now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.