title: How to update selected itmes of jQueryUI Selectable with AngularJS?
body: <p>I would like to use the jQueryUI Selectable widget together with AngularJS. I managed to include it using the <code>ui-jq</code> jQuery Passthrough directive from AngularUI which is working well to get the desired UI effect. Now I want to update the data of the selected items using AngularJS but couldn't figure out a way to do it. </p>
  
  <p>I found the <a href="https://github.com/angular-ui/angular-ui/blob/master/modules/directives/sortable/REDME.md" rel="nofollow">AngularUI Sortable directive</a>, which may be a good starting point to implement a Selectable directive, but as I just started with AngularJS I have trouble adapting it to my needs.</p>
  
  <p>Example:</p>
  
  <p><a href="http://jsfiddle.net/ffeldha/2KzRt/" rel="nofollow">http://jsfiddle.net/ffeldha/2KzRt/</a></p>
  
  <p>How can I update the name of the selected items?</p>