Hello Pawel!
So I checked what you did, and compared it with my code here ... I think I'm doing the same thing, probably not, since it is not working.
My code is pretty big and for better or worse show it will not help because the problem is only in this communication.
So here's a few questions that maybe can help me solve:
On fiddle is made a concatenation of the service and controls in a module of the angular ("angular.module"). And the controls are defined as follows:
controller ("name", ['$ scope', 'service name', function ($ scope, service name).
Here's the question: why are defined service name and $ scope twice? It makes a difference? I mean, in my code I define control as follows:
function 'control name' ($ scope, 'Service with Web Service', $ routeParams, 'service with another control') {code}
I call the set method during a callback done in the control 01 (in the example would FooBarController). By chance the delay of the callback would be the justification for the variable control in 02 (in the example would BarController) get empty?
For now are these two issues hehe