title: how to call method of another sibling component - angular 1.5
body: <p>I have two sibling components in one page need to call second component function and pass some value <code>onClick</code> event of first component link.</p>
  
  <pre><code>&lt;my-container&gt;
      &lt;sibling-component1&gt;&lt;/sibling-component1&gt; // this has link to call function
      &lt;sibling-component2&gt;&lt;/sibling-component2&gt; // this has function
  &lt;/my-container&gt;
  </code></pre>
  
  <p>code link : <a href="https://codepen.io/sandeep821/pen/aWQXZx?editors=1111" rel="nofollow noreferrer">https://codepen.io/sandeep821/pen/aWQXZx?editors=1111</a></p>