generate routing in custom module angular cli code example Example: generate module with routing in angular ng g m [ModuleName] --routing