O'Reilly logo

Getting MEAN with Mongo, Express, Angular, and Node by Simon Holmes

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 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, ...

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