Last active
December 14, 2016 08:02
-
-
Save wKoza/777a8979379f580e97cf7d8c263e7427 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: 'app-root', | |
template: ` | |
<h1>Mon premier Component</h1> | |
<app-child></app-child> | |
<app-cadre>un contenu dans mon cadre</app-cadre> | |
`, | |
styles: [` | |
h1 { | |
color: red; | |
} | |
`] | |
}) | |
export class AppComponent { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment