Created
October 14, 2016 16:56
-
-
Save wKoza/f4da69b3c8447283f5082ad12047a8f7 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: ` | |
Personne : {{person}} | Age : {{age}} | Adresse : {{address}} | |
` | |
}) | |
export class AppComponent { | |
person= 'John Doe'; | |
age= '30'; | |
address: {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