Fix for angular 1.2 issue 97

https://github.com/angular-ui/ui-select2/issues/97