Q. What does the `ng-content` directive do?

  • (A) Allows content projection
  • (B) Projects animations
  • (C) Binds form content
  • (D) Defines router outlet
πŸ’¬ Discuss
βœ… Correct Answer: (A) Allows content projection
Explanation: `ng-content` is used to project external content into a component’s template.
Explanation by: Mr. Dubey
`ng-content` is used to project external content into a component’s template.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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