import type { IController } from 'angular'; import { bootstrapModule } from './bootstrap.module'; import type { IFeatures } from '../config/settings'; import { SETTINGS } from '../config/settings'; import type { IDeckRootScope } from '../domain'; const template = ` `; class SpinnakerController implements IController { public authenticating: boolean; public feature: IFeatures; public routing: boolean; public static $inject = ['$rootScope']; constructor($rootScope: IDeckRootScope) { this.feature = SETTINGS.feature; this.authenticating = $rootScope.authenticating; this.routing = $rootScope.routing; } } bootstrapModule.component('spinnaker', { template, controller: SpinnakerController, });