angular-ui/angular-ui — pull request #309 by ggoodman (2012-12-14 22:25:31+00:00)
Title: Select2: Use the val method for array $modelValue

The check, `angular.isObject(controller.$modelValue)` will return
`true` if `controller.$modelValue` is an array.

Select2 insists on using the `val` method for arrays.