1. 11
    Pass static data to a component as part of the route transition in Angular
    1m 44s

Pass static data to a component as part of the route transition in Angular

Share this video with your friends

Send Tweet

While route resolvers are useful fetching the data to be passed to the routed component, statically configured data is useful for configuration purposes. In this lesson we learn about the data property which is part of Angular's route definition and which allows us to pass in some static data that can be used from within a route resolver, route guard or even the routed component to customise it's behaviour.