title: Angular 5 - change variable from another Component
body: <p>I have a <code>ParentComponent</code> with a <code>ChildComponent</code> that contains another <code>ChildComponent</code>(<code>ResultList</code> in a sidebar)</p>
  
  <p>In the <code>ParentComponent</code> I open a dialog with a similar <code>ResultList</code> from the sidebar- technically it is the same component - but it has more items.I try to select some of the values in the dialog and then I want to push them to the first <code>ResultList</code> in the sidebar again.</p>
  
  <p>Now I'm trying to pass the <code>resultList</code> variable to each component to get my list updated in the sidebar, but it seems a little bit complex. </p>
  
  <p>If you (hopefully) unterstand my problem - Do you have any other ideas how can I update my sidebarcomponent from the modal dialog?</p>
  
  <p>If you have further questions - please ask :)</p>