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

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