To designate a place in your template where the router should display the components for that route, use the ________ directive.
- ngRoute
- router-view
- ng-display
- route-render
To designate a place in your template where the router should display the components for that route, use the router-view directive. This directive is used in the template to specify where the routed components should be rendered. The other options mentioned, like ngRoute, ng-display, and route-render, are not Angular's standard directives for this purpose.
Loading...
Related Quiz
- The routerLink directive can be bound to an array, allowing you to pass ________ to the route.
- Which Route Guard is especially useful for feature modules that are lazy-loaded?
- In Angular's router, what's the difference between redirectTo and component properties in a route configuration?
- Which method in the TestBed is used to create an instance of a component or service for testing?
- Which command allows you to add a new capability, like Angular Material, to your Angular application using Angular CLI?