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.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *