πŸ“Š Angular
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
πŸ’¬ Discuss
βœ… Correct Answer: (C) To mark content for dynamic rendering

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
52
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate