how to generate a component in angular 6 code example Example: angular cli generate component ng g c componentName