generate new component angular

JavaScript
ng g component componentname
ng generate <schematic> [options]ng generate component [name]ng g c componentName
Source

Also in JavaScript: