angular cli code for adding component code example Example: angular cli generate component ng g c componentName