Skip to content

Instantly share code, notes, and snippets.

Last active Oct 14, 2016
What would you like to do?
import { Component } from '@angular/core';
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