A

Admin • 825.56K Points
Coach

Q. What is the use of `ng-template` in Angular?

  • (A) Defines a template that is not rendered by default
  • (B) Creates a component
  • (C) Injects services
  • (D) Handles form validation
  • Correct Answer - Option(A)
  • Views: 10
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
`ng-template` is a placeholder that Angular uses to render templates conditionally.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.