ng generate with module code example Example: angular cli generate new module ng generate module module-name