Ben,

you can subscribe from a service. Note that in this example I created a 
simple service (just a class) and I pass it through bootstrap, with this 
the instance is the same one for every component in the application. Also 
note that I have two siblings components subscribe to the service that get 
the same content when you press the send data button.

here's the plnkr http://plnkr.co/edit/rNdInA?p=preview

I hope it helps :D

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