import { IOnInit , ITimeoutService } from 'angular' ; import { SchematicFiltersService } from '@src/Module/Services/SchematicFiltersService' ; export class SchematicFilterController implements IOnInit { public static $inject = [ 'SchematicFiltersService' , '$timeout' ] ; public constructor ( public filtersService , private $timeout ) { } public $onInit ( ) { this . $timeout ( ( ) => { document . getElementById ( 'queryInput' ) ?. focus ( ) ; } ) ; } }