I have a piece of $scope text that should update dynamically.
<span ng-bind="user.balance"></span>
after pushing a button, new value of balance is received and should be displayed here.
$http.post('/transaction/send', transaction).success(function(sender) {
          console.log("http response");
          $scope.user = sender;
          console.log($scope.user.balance);
          $timeout(function() {$scope.$apply(); console.log("apply used");}, 1000);
        });
In console log anything is received and displayed properly, but it still doesn't update scope in the view. What am I doing wrong? I'm using $timeout to get rid of "$digest is already in use"
 
     
    