Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import {Component } from '@angular/core';
import {AppChildComponent} from './appchild.component';
@Component({
selector: 'my-app',
template: `<h1>Hello {{message}}</h1> <br/>
<appchild></appchild>
`,
})
export class AppComponent {
message : string = "I am Parent";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.