title: Passing value between two angular 2 component typescript files
body: <p>I have two components that are not parent Components and those are child components but I need to pass data from component A to component B.
  example:
  component A.ts has an array of data 
  example : </p>
  
  <pre><code>my data [
     {'name':'some a','email':'some a@gmail.com','grades':{}},
     {'name':'some b','email':'some b@gmail.com','grades':{}}
    ]
  </code></pre>
  
  <p>need to pass that my data to component B.ts</p>