title: How to transfer data of ng-repeat items by clicking from one view to another view if both views have only one controller?
body: <p>I have two views(2 html templates) both have one common controller</p>
  
  <p>now in view 1 which contains ng-repeat items</p>
  
  <p>for example :  </p>
  
  <blockquote>
    <p>In "view 1" : ng-repeat = "monthid in years"</p>
  </blockquote>
  
  <p>it shows:<br>
  month 1,<br>
  month 2,<br>
  ...<br>
  month 12   </p>
  
  <p>So now i want to click on "month 1" and send its value suppose its name like "january" to "view 2"</p>
  
  <p>In view 2, there will be only one thing just month 1's name(january).<br>
  Like this,       </p>
  
  <p>If i click on "month 2" there will be only one thing just month 2's name (February) in view 2.</p>
  
  <p>How to achieve this?</p>