Thanks that's what I was 'afraid' of... create a service only for one element
On Wednesday, 25 May 2016 06:25:51 UTC+2, Sander Elias wrote: > > Hi Cedric, > > There are multiple solutions to your issue. The cleanest one is creating a > small service that hosts one(or more) observable(s). > There is actually a good sample about this in the docs > <https://angular.io/docs/ts/latest/cookbook/component-communication.html#!%23parent-to-child-local-var>. > > scroll down to "Parent and children communicate via a service". > While you are on that page, there are some more examples on exactly this > subject. > > 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
