Q. What is the Angular CLI command to add a new component?
β
Correct Answer: (A)
ng generate component component-name
Explanation: This command scaffolds a new component.