Chapter 2. Why JavaScript Is a Good Choice for Modern Apps

In this chapter, I’ll talk about the four components of the MEAN stack (MongoDB, Express.js, Angular.js, and Node.js) and get you all set up to start the project in the next chapter.

What Is Angular.js?

Angular.js is a framework for building applications inside the browser. It is targeted toward highly interactive applications. Out of the box, it comes with many components useful for building applications. It also provides the structure for highly modular, testable applications.

You integrate it into an application by adding a <script> tag to the HTML and writing custom code that works inside it.

Some of the tools it includes are two-way data binding, a router, DOM manipulation, animations, ...

Get Write Modern Web Apps with the MEAN Stack: Mongo, Express, AngularJS, and Node.js 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.