I would like to \"bind the change\" of asynchronous data between controllers.
I know it\'s a probably a bit confusing but I hope something is possible.
In th
you are returning a promise
in the factory
's return object and not the actual object itself. so in you scope you should actually wait for the promise to mend a concrete object then assign it to $scope.message
example:
function ControllerA($scope, myService) {
myService.getMessage().then(function(obj){
$scope.message=obj
});
}
i changed your fiddle into something that might be your answer, see this fiddle