πŸ“Š Angular
Q. Which Angular CLI command is used to add a new service?
  • (A) ng add service
  • (B) ng generate service
  • (C) ng service create
  • (D) ng make service
πŸ’¬ Discuss
βœ… Correct Answer: (B) ng generate service

Explanation: `ng generate service` creates a new service class and injects metadata automatically.

Explanation by: Mr. Dubey
`ng generate service` creates a new service class and injects metadata automatically.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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