Fix ui-select2 in Angular 1.2.3

fixed https://github.com/angular/angular.js/issues/5219
Merge pull request #116 from Burgov/patch-1

Fix ui-select2 in Angular 1.2.3