Skip to content

Instantly share code, notes, and snippets.

@wKoza
Created October 14, 2016 16:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wKoza/f4da69b3c8447283f5082ad12047a8f7 to your computer and use it in GitHub Desktop.
Save wKoza/f4da69b3c8447283f5082ad12047a8f7 to your computer and use it in GitHub Desktop.
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