Last active
December 10, 2016 15:19
-
-
Save matthieu-D/e3eabfecb8dafed149c7acd39bcbb32f 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 } from '@angular/core'; | |
@Component({ | |
selector: 'home', // <home></home>, | |
template: 'Welcome Home' | |
}) | |
export class HomeComponent { | |
ngOnInit() { | |
console.log('hello `Home` component'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment