Creates a new module class type from which you can extend.
name: The lowercase alphanumeric module name. This is used in the configuration system.
Choose a short unique name for best usability. If you don't have any configuration
or if you want that your configuration options are available without prefix, you can keep this undefined.
classMyModuleextendscreateModule({}) {}
//and used like this newApp({ imports: [newMyModule] });
Creates a new module class type from which you can extend.
name: The lowercase alphanumeric module name. This is used in the configuration system. Choose a short unique name for best usability. If you don't have any configuration or if you want that your configuration options are available without prefix, you can keep this undefined.