import { Component, Directive, ElementRef, Renderer, ChangeDetectionStrategy, ViewEncapsulation } from '@angular/core'; import { ConfigurationService } from './utils/configuration/configuration.service'; import {Observable} from 'rxjs/Observable'; @Component({ //changeDetection: ChangeDetectionStrategy.Default, //encapsulation: ViewEncapsulation.Emulated, selector: 'app-root', styles: [` `], template: `

Openaire Lib Component

` }) export class AppComponent { isClient:boolean = false; constructor(private config: ConfigurationService) {} ngOnInit() { if (typeof document !== 'undefined') { try{ this.isClient = true; }catch (e) { } } } }