Angular & Signals (283 Qs)•Part 3: Angular Router, Navigation & SSR Universal (63 - 75)
What is router outlet?
The RouterOutlet is a directive from the router library and it acts as a placeholder that marks the spot in the template where the router should display the components for that outlet. Router outlet is used like a component,
html
<router-outlet></router-outlet>
<!-- Routed components go here -->