<label for="item-input">Add an item:</label> <input type="text" id="item-input" #newItem> <button type="button" (click)="addNewItem(newItem.value)">Add to parent's list</button>