Skip to content

Instantly share code, notes, and snippets.

@santoshyadavdev
Created February 4, 2020 09:36
Show Gist options
  • Save santoshyadavdev/4bd3355843ce2250383eaa16a4b4f124 to your computer and use it in GitHub Desktop.
Save santoshyadavdev/4bd3355843ce2250383eaa16a4b4f124 to your computer and use it in GitHub Desktop.
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