Recall & Review
beginner
What is the purpose of in Angular?
The is a placeholder in the template where Angular inserts the component that matches the current route. It acts like a window showing the view for the active route.
Click to reveal answer
beginner
How does Angular decide which component to render inside ?
Angular uses the route configuration to match the current URL path to a component. The matched component is then rendered inside the .
Click to reveal answer
intermediate
Can you have multiple elements in an Angular app? What is their use?
Yes, you can have multiple elements. They allow nested routing, where child routes render their components inside a child within a parent component's template.
Click to reveal answer
beginner
What happens if you forget to add in your Angular app?
If is missing, Angular has no place to display routed components, so navigation will not show any new views, making the app appear stuck or blank on route changes.
Click to reveal answer
intermediate
How can you style or add accessibility features to ?
Since is a placeholder and does not render actual HTML, you style the components it loads. For accessibility, ensure loaded components use semantic HTML and ARIA roles properly.
Click to reveal answer
What does do in Angular?
✗ Incorrect
Can you use multiple elements in one Angular app?
✗ Incorrect
Multiple elements enable nested routing where child routes render inside child outlets.
What happens if is missing in your Angular template?
✗ Incorrect
Without , Angular cannot display routed components, so views do not appear on navigation.
Where do you define which component should render?
✗ Incorrect
The routing configuration maps URL paths to components that renders.
How do you add accessibility to routed views in Angular?
✗ Incorrect
Explain how works in Angular and why it is important for view rendering.
Think of <router-outlet> as a window showing the right page based on the URL.
You got /4 concepts.
Describe how nested routing uses multiple elements in Angular.
Imagine a main page with smaller sections that change independently.
You got /4 concepts.