Q. What is the purpose of the ng-template directive?

  • (A) To define a template that can be rendered conditionally
  • (B) To declare global styles
  • (C) To import modules
  • (D) To define services
πŸ’¬ Discuss
βœ… Correct Answer: (A) To define a template that can be rendered conditionally
Explanation: ng-template is a placeholder for content that is conditionally rendered.
Explanation by: Mr. Dubey
ng-template is a placeholder for content that is conditionally rendered.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
103
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate