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 ...
Get Full Stack JavaScript Development With MEAN 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.