Skip to main content

Resolvers, route data, titles and route providers

Learn Resolvers, route data, titles and route providers (Module 10 · Angular Routing, Angular) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Data, titles and resolvers • Route data : static information attached to a route with data: { ... } , such as breadcrumb text or required roles. • Route titles : title: 'Orders' sets document.title automatically for each route. • A route resolver fetches data before the page shows, so the component never renders half empty. Think of a waiter bringing your meal to the table instead of you cooking it at the table.

More lessons in Module 10 · Angular Routing