A

Admin • 833.24K Points
Coach

Q. What does the Angular 'ng-content' directive do?

  • (A) It projects content into a component from its parent
  • (B) It creates a form
  • (C) It defines routes
  • (D) It adds styles
  • Correct Answer - Option(A)
  • Views: 36
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

ng-content is used for content projection.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.