Created
February 4, 2020 09:36
-
-
Save santoshyadavdev/4bd3355843ce2250383eaa16a4b4f124 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-department', | |
templateUrl: './department.component.html', | |
styleUrls: ['./department.component.css'] | |
}) | |
export class DepartmentComponent 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