Created
December 18, 2018 03:13
-
-
Save debugmodedotnet/15ca19962f03bd036c1d7ca0471830c2 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 } from '@angular/core'; | |
@Component({ | |
selector: 'app-greet', | |
template: ` | |
<h2>{{title}}</h2> | |
<ng-content></ng-content> | |
` | |
}) | |
export class GreetComponent { | |
title = 'Greet'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment