angular-ui/ui-select2 — pull request #20 by sudhirrs (2013-05-31 10:43:40+00:00)
Title: Added destroy handler to remove the select2 when the parent element is removed from DOM

If I have ``````, when ```some-condition``` is false, the select2 generated artifact is left behind. I am not sure if there is a better way that doing this in a $destroy handler or I am doing my code the wrong way. - Thx