generate component in folder angular cli code example
Example 1: angular generate component without spec
--skipTests=true|false. When true, does not create "spec. ts" test files for the new component / directive / class / guard
Example 2: angular cli generate component
ng g c componentName