Created
June 5, 2018 07:37
-
-
Save debugmodedotnet/8d6b1d64aeaaf2244b113e457d93527c 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, Input } from '@angular/core'; | |
@Component({ | |
selector: 'app-message', | |
template: ` | |
<h2> | |
Hey {{person.firstname}} {{person.lastname}} ! | |
</h2> | |
` | |
}) | |
export class MessageComponent { | |
@Input() person; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment