What can a Route Resolver return to indicate that the route data is not available?
- Empty object
- Null
- Observable with an error
- Undefined
A Route Resolver can return an Observable with an error to indicate that the route data is not available or there was an issue fetching it.
Loading...
Related Quiz
- In Angular, the _____ Guard checks whether a route can be deactivated.
- How can you access the data resolved by a Route Resolver within a component?
- What could be a potential issue if two services have a circular dependency on each other in Angular?
- How can you define a child route in an Angular application?
- Why might you use a Subscription in an Angular application?