Chapter 9. Building a single-page application with Angular: Foundations

This chapter covers

  • Setting up Express to deliver a single-page application
  • Best practices for organizing code in a large Angular application
  • Using Angular to do the URL routing instead of Express
  • Combining and minifying several Angular files into one

We saw in chapter 8 how to use Angular to add a component to an existing page. Over the next two chapters we’re going to take Angular to the next level and use it to create a single-page application. This means that instead of running the entire application logic on the server using Express, we’ll be running it all in the browser using Angular. By the end of this chapter we’ll have the framework for an SPA in place, ...

Get Getting MEAN with Mongo, Express, Angular, and Node 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.