Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import {Component, OnInit} from '@angular/core';
@Component({
selector: 'bonjour',
template: `
<div> Bonjour </div>
`
})
export class BonjourComponent implements OnInit{
ngOnInit() {
console.log('onInit');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment