Named Router Outlet in Angular - Tutorial no 23.
As your applications grow, you will probably need to route to different parts of your applications independently to one another and named router outlets are great way to accomplish this.
Use this link to share this video: • Route Parameters - Ang...
In our previous videos we have already learnt about Routing, Nested Routing and Parameterised routing.
Nested Routing: • Nested Routes - Angula...
Router Parameters: • Route Parameters - Ang...
Routing: • Routing - Angular (Tut...
We have learnt , that router-outlet act like a placeholder , so whatever route we will request it display the requested route template just after the router-outlet. But we can have only one router-outlet. If we want multiple router outlet then we need to assign a name to router-outlet . So If router-outlet has no name property assigned to it , It is called PRIMARY OUTLET and the outlets with name property is called SECONDARY OUTLET. So it is possible that you want multiple outlets for displaying different routable content in different parts of your application.
Angular Tutorial Series:
• Introduction- Angular ...
Follow me on:
►RU-vid : / nishasingla
►Facebook : / angularjs4beginners
►LinkedIn : / nishasingla
25 авг 2024