The method that changes color can be reached directly from the child component by the use of the $parent object.
Click the button to toggle the color in the P tag of the parent component.
The 'toggleColor' method is also in the parent component.