Registering an Application Controller
In the first component that is started, which is the app.component.ts, the Platform can register multiple application controllers through GeneApplicationService.
export class AppComponent {
constructor(translate: TranslateService, settingsService: GeneSettingsService, applicationService: GeneApplicationService) {
// ...
// Register a custom app controller sample
applicationService.registerApplicationController('Sample Custom Menu', () => new SampleCustomMenusApplicationController());
// ...
}
}