Skip to content

Instantly share code, notes, and snippets.

@wKoza
Last active Oct 14, 2016
Embed
What would you like to do?
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