import { Injectable } from '@angular/core' ; import { UserConfiguration } from 'uhk-common' ; @ Injectable ( ) export class DefaultUserConfigurationService { private _defaultConfig : UserConfiguration ; constructor ( ) { this . _defaultConfig = new UserConfiguration ( ) . fromJsonObject ( require ( './user-config.json' ) ) ; } getDefault ( ) { return this . _defaultConfig ; } }