To create a new component in Angular 4 using CLI,
  • Open Project Directory
  • Run any one of the below mentioned the syntax

We have the most extensive question bank to help you answer Angular 4 interview questions and answers.

Example

                                        

ng component name

or

ng generate component componentname

Suggest An Answer

No suggestions Available!