The best way to tackle this is to expose an api on the myVideo directive (search in this list for that if you don't know how to do it. its' easier in later version, basically just use the controllerAs option of the ddo) Then in the mySource directive, you can register yourself using that api.
Do you think you know enough? 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/d/optout.
