Fix ui-select2 in Angular 1.2.3

fixed https://github.com/angular/angular.js/issues/5219