generate module and component once angular cli code example Example: angular cli generate new module ng generate module module-name