import { Component } from '@angular/core' ; import { ConfigService } from '@app/core' ; @ Component ( { templateUrl : 'error-404.template.html' } ) export class Error404Component { public config : any = JSON . stringify ( this . configService . config . API_URL ) ; constructor ( public configService ) { } }