Skip to content

Instantly share code, notes, and snippets.

@wKoza
Last active December 25, 2016 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wKoza/29e4b796aef280d342558c9d69bf8955 to your computer and use it in GitHub Desktop.
Save wKoza/29e4b796aef280d342558c9d69bf8955 to your computer and use it in GitHub Desktop.
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