Last active
December 25, 2016 11:58
-
-
Save wKoza/29e4b796aef280d342558c9d69bf8955 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 { LoggerService } from "./logger.service"; | |
@Component({ | |
selector: 'app-component3', | |
template: 'Learn Angular !' | |
}) | |
export class Component3 implements OnInit { | |
constructor(private logger:LoggerService) { } | |
ngOnInit() { | |
this.logger.debug('In component3'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment