πŸ“Š Angular
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

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