Chapter 20Angular in Our App
Throughout Chapters 6, 9, and 13, we’ve created a reasonably straightfoward human resources application API using Node, MongoDB, and Express respectively. In this chapter, we’re going to create the front end of our application using Angular. The result will be a full-blown MEAN application. This chapter contains a considerable amount of code as it ties the rest of the application together, but we’ll do our best to explain it clearly.
All the work done in this chapter will take place in the project’s
public directory. This directory is used to serve static
resources such as HTML, CSS, JavaScript, and image files. This is set up in
index.js by the line in Listing 20-1. For the purposes of this chapter, you should delete ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access