Summary

In this chapter, you got familiar with the directory structure while going through the main concepts of AngularJS. We learnt that directives are the way in which AngularJS extends the HTML code. Modules are preferred for keeping the code organized. Routers allow us to define URLs and bind them to controllers and templates. Controllers are the glue between services/factories (model) and the templates (view). Templates are the HTML codes where we can use expressions and variables defined through $scope in the controller. Finally, filters are used in templates for modifying the output of strings.

We have created the first part of our frontend e-commerce app while explaining each of the components used. We now have the marketplace which shows ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.