The component where the child route should get rendered must contain the ________ directive in its template.
To render a child route's content in an Angular component, you must include the directive in the component's template. The acts as a placeholder where the child route's components will be displayed.
Loading...
Related Quiz
- What is the primary purpose of the Validators class in Angular's Reactive Forms?
- Which directive in template-driven forms is used to display specific error messages based on validation failures?
- If a parent component needs to send data to a child component, which property decorator should be used?
- Imagine you're building a dashboard application where widgets can be added/removed by users. Which feature of Angular would be most suitable to achieve this dynamic behavior?
- For creating a custom structural directive in Angular, the directive class should implement the _____ method.