Created
February 4, 2020 09:35
-
-
Save santoshyadavdev/533c79d344f04a00269ea8810ff8efb0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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