Hi,

I'm not sure if this should work but I didn't manage to. I want to create a 
component with input property which is an observable. In my Component I 
subscribe to the observable in the ngOnInit but when I generate a value on 
the Source in the parent component I don't have any event in my child 
component but it works in my parent component.

I tried to create a plunker, but I'm not very used to it and did not manage 
to make it works : http://plnkr.co/edit/cK0ENRKMG8ENy2ikvdh7?p=preview

If I want to use Observable to I have to use a service to store the 
observable ?

Thanks.



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

Reply via email to