Chapter 2. Creating the Application Module and Components
In this lesson, we will start by creating a PostsModule
that contains all the code related to displaying the posts that come from our API.
Inside this module, we will add various components, a service, and two resolvers.
The components are used to display the data in the browser. We will go over their use in this lesson. The service is used to retrieve the data from the API. Lastly, we will add resolvers to our app; resolvers make sure the data from the service is available at the moment we navigate from one route to another.