Within my application, I have a parent component (P) and two children components (C1) and (C2). Both C1 and C2 are children of the parent component P, but they are not nested. In the parent template, it is structured as follows:
<c1-component></c1-component>
<c2-component></c2-component>
In component C1, there is a variable named myVar
(which is a number) that I want to be able to decrease and increase within component C2, and then pass the updated value back to C1. How can I achieve this without using shared services?