I am trying to make some useful directives with jQueryUI widgets for my AngularJS base application.
One of them works on "select" element and am ok with directives but only thing do not understand is this one:
- When select list is populated from ajax request, how to tell to apply jqueryui widget when data is populated? Suppose it is with $watch but not sure how.
Edit: In example I am trying to implement directive for the multiselect plugin. Please note that I am simulating server reponse but putting everything in timeout.
Here is a code on plunker