angular-ui/ui-select2 — pull request #279 by vineey (2014-09-17 04:37:19+00:00)
Title: onSelect callback

Added onSelect callback, this works hand in hand with createSearchChoice for input[type=hidden] element.
This is important for use case when one wants to allow the user to enter values not in the list and want
to manipulate the value assigned on the ng-model instead of pure object value.