A

Admin • 802.91K Points
Coach

Q. What is the purpose of the 'ng-template' element in Angular?

  • (A) To create standalone components
  • (B) To hold reusable HTML code
  • (C) To mark content for dynamic rendering
  • (D) To style child components
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
ng-template holds content that will be rendered conditionally or dynamically.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.