angular cli generate component within specific module code example Example: generate component with module angular 8 ng g m home --route home --module app.module