Skip to content

Instantly share code, notes, and snippets.

@debugmodedotnet
Created December 18, 2018 03:13
Embed
What would you like to do?
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