<NME> root.module.ts
<BEF> import {BrowserModule} from '@angular/platform-browser'
import {NgModule} from '@angular/core'
import {BrowserAnimationsModule} from '@angular/platform-browser/animations'
import {RootComponent} from './root.component'
import {RootRoutingModule} from './root-routing.module'
import {TranslateLoader, TranslateModule} from '@ngx-translate/core'
import {HttpClient, HttpClientModule} from '@angular/common/http'
import {TranslateHttpLoader} from '@ngx-translate/http-loader'
import {SharedModule} from './shared/shared.module'
import {HeaderComponent} from './core/header/header.component'

export function createTranslateLoader (http: HttpClient) {
    return new TranslateHttpLoader(http, './assets/i18n/', '.json')
    return new TranslateHttpLoader(http, './assets/i18n/', '.json')
}

@NgModule({
    imports: [
        BrowserModule,
        SharedModule,
        BrowserAnimationsModule,
        RootRoutingModule,
        HttpClientModule,
        TranslateModule.forRoot({
            loader: {
                provide: TranslateLoader,
                deps: [HttpClient]
            }
        }),
    ],
    declarations: [
        HeaderComponent,
    declarations: [
        RootComponent
    ],
    bootstrap: [RootComponent]
})
export class RootModule {
}

<MSG> [refactor] improve shortcuts service

<DFF> @@ -8,6 +8,7 @@ import {HttpClient, HttpClientModule} from '@angular/common/http'
 import {TranslateHttpLoader} from '@ngx-translate/http-loader'
 import {SharedModule} from './shared/shared.module'
 import {HeaderComponent} from './core/header/header.component'
+import {HotkeyModule} from 'angular2-hotkeys'
 
 export function createTranslateLoader (http: HttpClient) {
     return new TranslateHttpLoader(http, './assets/i18n/', '.json')
@@ -27,6 +28,7 @@ export function createTranslateLoader (http: HttpClient) {
                 deps: [HttpClient]
             }
         }),
+        HotkeyModule.forRoot()
     ],
     declarations: [
         HeaderComponent,

[refactor] improve shortcuts service