Q. Which Angular decorator allows injecting dependencies into a service or component?

  • (A) @Injectable
  • (B) @Input
  • (C) @Output
  • (D) @Component
πŸ’¬ Discuss
βœ… Correct Answer: (A) @Injectable
Explanation: @Injectable decorator marks a class for dependency injection.
Explanation by: Mr. Dubey
@Injectable decorator marks a class for dependency injection.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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