angular-ui/ui-select2 — pull request #88 by bdecarne (2013-09-26 22:17:33+00:00)
Title: check scope.$root.$$phase before $apply

I used the uiSelect2 directive in another directive with isolated scope, and this modification avoid "$digest already in progress" error.