thnx Eric - your plnkr is very helpful Is this just a parent component / child component relationship or can a component subscribe to messages sent from a service?
On Monday, November 2, 2015 at 2:33:00 PM UTC-8, Eric Martinez wrote: > > Ben, > > to communicate between components/directives ng2 provides a class named > EventEmitter > <https://angular.io/docs/ts/latest/api/core/EventEmitter-class.html>, > which is a subclass of a Subject (see RxJS > <https://github.com/ReactiveX/RxJS>). I have an example I did for another > user, but I'm pretty sure you'll get the idea (if not just ask :D ), see it > here http://plnkr.co/edit/MT3xOB?p=info > -- 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.
