title: sibling component communication angular 6
body: <p>I have two sibling components inside a parent component like below</p>
  
  <pre><code>&lt;parentComponent&gt;
    &lt;sibling1&gt;&lt;/sibling1&gt;
    &lt;sibling2&gt;&lt;/sibling2&gt;
  &lt;/parentComponent&gt;
  </code></pre>
  
  <p>Am emitting data from sibling 2 to parent. Then am passing it as Input from parent to sibling 1. But as the sibling 1 gets initialized before sibling 2 am unable to get the data on sibling 1. How to get the data on sibling 1 with the same setup.</p>