How can we create a component using angular cli?



How can we create a component using angular cli?..

Answer / Satpal Singh

To create a component in Angular CLI, you can use the command 'ng generate component <component-name>'. This will generate a new component with the specified name.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

Explain service workers in angular js?

1 Answers  


What are ui frameworks?

1 Answers  


What is modules? What are ngmodule metadata?

1 Answers  


What is angular testing? What are isolated unit tests? What are angular testing utilities?

1 Answers  


What do I have to do to trick the browser into doing what I want?

1 Answers  


What is representational state transfer (rest) in angularjs?

1 Answers  


What is Dependency Injection in AngularJS?

1 Answers  


What is resolve in angularjs?

1 Answers  


What is ng app in angular?

1 Answers  


What is dependency injection (di)?

1 Answers  


What is grid in angular?

1 Answers  


What is binding in angular?

1 Answers  


Categories