Angular Resolvers

What Is a Resolver?

To ensure, certain data is loaded from an API response before the route is actually activated, we use Route Resolvers.

In other words, to prefetch the data for a particular route before the component is loaded.