angular-ui/ui-select2 — pull request #163 by sroe (2014-02-27 15:01:11+00:00)
Title: Update select2.js

If you use a select and ngRepeat for options, the selectedvalue is set correct only with 'val' not 'data'. 'data' is expecting array with id and text... took me 30 minutes to figure it out why i get "undefined" as selected item!