Add content for router outlets (#2236)

* Update 101-router-outlets.md

* Update 101-router-outlets.md
This commit is contained in:
Yash bhanushali
2022-10-07 15:39:12 +04:00
committed by GitHub
parent fd4b008315
commit 089a701df0
@@ -1 +1,8 @@
# Router outlets
# Router outlets
The router-outlet is a directive that's available from the @angular/router package and is used by the router to mark where in a template, a matched component should be inserted.
Thanks to the router outlet, your app will have multiple views/pages and the app template acts like a shell of your application. Any element, you add to the shell will be rendered in each view, only the part marked by the router outlet will be changed between views.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='blue' badgeText='Official Website' href='https://angular.io/api/router/RouterOutle'>Understanding Router Outlets</BadgeLink>