Last active
October 14, 2016 19:06
-
-
Save wKoza/35b53359261595e3845b37959e2f57e0 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: ` | |
<div>Personne : {{person}} | Age : {{age}} | Adresse : {{address}}</div> | |
` | |
}) | |
export class AppComponent { | |
person:string= 'John Doe'; | |
age:number= 30; | |
address:any= {street:'rue du Paradis', city:'75010 Paris'}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment