import { Component , OnInit } from '@angular/core' ; import { LocalStorageService , AuthService } from '@core/services' ; import { environment } from '@env' ; @ Component ( { selector : 'app-feature-a' , templateUrl : './feature-a.component.html' , styleUrls : [ './feature-a.component.scss' ] } ) export class FeatureAComponent implements OnInit { public foo : string ; constructor ( private localStorageService , private authService ) { } ngOnInit ( ) { this . foo = environment . foo ; } }