I have created simple custom AngularJs directive for this awesome jquery plugin jQuery-Select2 as follows:
Directive
app.directive(\"sel
I tried to reproduce your issue and it seems to work well. here is the fiddle I came up with:
http://jsfiddle.net/s24gLdgq/
You may have a different behavior depending on the version of Angular and/or Select2 you are using, could you specify that?
Also if you want to prevent flickering, be sure to hide the default tag so nothing is displayed before the select2 element pops out.
This is also done in my jsfiddle with the CSS
.form-control { width: 200px; opacity: 0 }