Skip to content

Instantly share code, notes, and snippets.

@santoshyadavdev
Created February 4, 2020 09:35
Show Gist options
  • Save santoshyadavdev/533c79d344f04a00269ea8810ff8efb0 to your computer and use it in GitHub Desktop.
Save santoshyadavdev/533c79d344f04a00269ea8810ff8efb0 to your computer and use it in GitHub Desktop.
import { Component, OnInit } from '@angular/core';
import { ConfigService } from '../shared/config.service';
@Component({
selector: 'app-employee',
templateUrl: './employee.component.html',
styleUrls: ['./employee.component.css']
})
export class EmployeeComponent implements OnInit {
constructor(private configService: ConfigService) { }
ngOnInit(): void {
console.log(this.configService.getValue());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment