Parent.component.html

1
2
3
4
5
6
7
8
9
<fieldset>
  <legend>
    <h1>Parent Component</h1>
  </legend>

  <p>Received message from child: {{ receivedMessage }}</p>

  <app-child #child1></app-child>
</fieldset>