how to create a component in cli angular code example
Example 1: angular add component
ng generate component [name]
Example 2: generate new component angular
ng generate <schematic> [options]
ng generate component [name]
ng generate <schematic> [options]