In the previous chapter, you saw how to build up an authentication API with Node and Express. Now, you will take that code and integrate it into your application. The goal is that when you are complete, only users will be able to make posts, and the posts will be linked to the currently logged-in user.
Before you can build up the pages for authentication, you’ll need to include Angular’s router. Angular has a module you can add to your app and turn it into a single-page application. Angular will be able to show different views based on the URL.
Before you get started with that, let’s rename the layout file
layouts/app.html. This is because your layout file will ...