We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Example on how the module.ts should be structured.
export function MyFactory(_myService: MyService) { return async () => await _myService.init() } @NgModule({ imports: [ CommonModule, // <-- CommunModule, NgIf, NgFor, ... does not need any comments // Forms FormsModule, ReactiveFormsModule, MatFormFieldModule, // Shared SharedModule, // <-- Barrel import // Components StandaloneComponent, // <-- Standalone component first ComponentModule, // Fragments // Layouts // Modals // Pipes // Services // Vendors ], exports: [ ], providers: [ { provide: VARIABLE, useValue: `Johndo` }, AnyService, { provide: BaseService, useExisting: AnyService, }, ], })