Skip to content

Instantly share code, notes, and snippets.



Last active Dec 18, 2016
What would you like to do?
import { Component } from '@angular/core';
selector: 'app-root',
template: `
<person [person]="character" *ngFor="let character of characters"></person>
export class AppComponent {
characters = [ {name:'mickey', lastname:'mouse'},
{name:'pat', lastname:'hibulaire'}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment