делай по аналогии
/*
ОБертка для jquery-chosen
*/
.directive('ngChosen', function() {
return {
replace: true,
link: function(scope, element, attributes) {
var params = scope.$eval(attributes.ngChosen) || {};
element.chosen(params);
function handler() {
element.trigger('chosen:updated');
}
element.bind('$destroy', scope.$watch(attributes.ngModel, handler));
element.bind('$destroy', scope.$watch(attributes.ngDisabled, handler));
}
};
})