When setting up child routes, which directive is used in the parent component's template to display the views for the child routes?
To display the views for child routes in Angular, you use the directive in the parent component's template. This directive acts as a placeholder where the content of child routes will be rendered.
Loading...
Related Quiz
- You notice that styles defined in a component are affecting other components throughout the application. Which view encapsulation mode might the component be using?
- How does the use of immutable data structures enhance performance in Angular applications?
- Which module in Angular is primarily used for setting up routing?
- How would you implement asynchronous validation for checking if an email is already registered?
- What is a potential drawback of not using lazy loading in larger applications?