Eric, 

thanks for your replay

In fact I just want to make some research about the issue - after all there 
is a possibility to make several app on one page so I guess there is some 
way to communicate them.
But I get many replays that confirm your point of view so I might consider 
to drop this reaserch and stay with one big app

Here is the new approach based on some jsFiddle we found - it seems to work 
and i think it can be usefull in some cases

Once again thanks!

W dniu niedziela, 16 listopada 2014 21:33:41 UTC+1 użytkownik Eric Eslinger 
napisał:
>
> Are the different apps all guaranteed to be loaded on-screen at the same 
> time? One reason you'd have multiple apps would be different pages. If 
> they're guaranteed to all be on the screen at the same time (they're all 
> embedded in the same index.html), why not make it just One Big App?
>
> Personally, if there's a bunch of different apps and they're in different 
> index.html files, I'd either use localStorage or push/pull notifications 
> off of the backend. If they're all in the same index.html file anyway, I'd 
> just make them all one app, possibly using ui-router to have different view 
> divs.
>
> e
>
> On Sun Nov 16 2014 at 12:29:47 PM Mateusz Rorat <[email protected] 
> <javascript:>> wrote:
>
>> Hi,
>>
>> I try to make several independent apps on the website communicate with 
>> each other. It seems that its not so trivial to implement such a thing so I 
>> wanted to ask for your advice. $broadcast or shared service doesn't seem to 
>> work but maybe I do something wrong
>>
>> I made this -> http://jsfiddle.net/HB7LU/8353/
>>
>> but it seems a little bit hacky
>>
>> I would be very grateful to hear your opinion 
>>
>> Thanks,
>> MR
>>
>>   
>>
>> -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/angular.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

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