title: Angularjs select elements from list and display in textarea
body: <p>I have a problem with Angular and nya-select.</p>
  
  <p>Example array in my angular controller:</p>
  
  <pre><code>vm.arrayCollection = [
    { name: 'Alice',      mail: 'Class A' },
    { name: 'Bob', mail: 'Class B1' },
    { name: 'Carl', mail: 'Class A2' },
    { name: 'Daniel', mail: 'Class B2' },
    { name: 'Emi', mail: 'Class A3' },
    { name: 'Flank', mail: 'Class B3' },
    { name: 'George', mail: 'Class C4' },
    { name: 'Harry', mail: 'Class C5' }
  ];
  </code></pre>
  
  <p>I have select option element:</p>
  
  <pre><code>&lt;ol class = "nya-bs-select" ng-model = "myModel"&gt;
    &lt;li nya-bs-option="person in myController.arrayCollection"&gt;
      &lt;a&gt;
        {{ person.name }}
      &lt;/a&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
  </code></pre>
  
  <p>And second one is "textarea" :</p>
  
  <pre><code>  &lt;textarea ng-model="myModel2"&gt;
      ... ?
    &lt;/textarea &gt;
  </code></pre>
  
  <p>I would like to achieve this :</p>
  
  <p>When I change "myModel" by choosing another person name from the first select option -> I want to set appropiate "mail" in the textarea.</p>
  
  <p>Ex. when I choose "Alice" -> I would like to display "Class A" in the textarea. Moreover, when I multiselect "Alice", "Bob" -> I would like to display "Class A, Class B1"</p>
  
  <p>Could you be so kind and help me How to achieve this ? (Multiselect is done by "nya-select" plugin -> so this is ok. I do not know how to display "mail" value from arrayCollection on the basis of name...</p>