Ivan,

So the ‘reshuffeling’ is under control of your code. Then it’s easy enough. 
In your code, do a $scope.$emit('widgetsAreShuffled')
In your directive link function something like:

  scope.$on('widgetsAreShuffled', function () {
     // re-init your tiny-MCE
  });

if you need a start and stop event, that’s a bit more work, and you need to 
make sure that there is a digest cycle after your start event, but before 
you actually do anything.

Hope this helps a bit?
Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to