Hi Sander
There are three Angular way for communication 
1. use of scope.emit on directive and scope.broadcast on controller
2. create a service and inject in both.
3. Using scope for sharing things.
>From this three the cleanest one is the first one because it helps you to 
>separate concerns and not to populate the scope with unnecessary watches.
Remember that every watch that we setup slows down the application because they 
run on every digest cycle.
I hope this help.

-- 
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.

Reply via email to