Yup, done, finally i can finish my app, thanks for the help, by the way, 
i'm using ionic 2 but this kind of question was more related to angular 2.

El domingo, 17 de enero de 2016, 9:50:04 (UTC-5), michael corbridge 
escribió:
>
> Hey Carlos,
>
> Streams are definitely the way to go in this case. Torgeir Helgevold (<- 
> props to Torgeir!) has an excellent example of this at:
>
> http://www.syntaxsuccess.com/viewarticle/pub-sub-in-angular-2.0
>
> I know for a fact that this will do exactly what you are looking for.
>
>  - michael
>
> On Sunday, January 17, 2016 at 8:06:29 AM UTC-5, Carlos Esteban Lopez 
> Jaramillo wrote:
>>
>> Hi, i'm making a busy indicator component, the way i did go with it is to 
>> have the component right under the app html component side to side with the 
>> <router-outlet></router-outlet> component.
>>
>> I need to be able to set a variable from anywhere in the code, so i was 
>> thinking about observables to send values to it, can't use the angular 
>> binding with EventEmitter since the busy component is outside of the 
>> components hierarchy.
>>
>> Any idea how to set it up? i'm a noob about Rxjs, how do i create an 
>> observable of the variable and how would i call it from another component 
>> to set the value?
>>
>

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