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