[FIX] fix handleAccountTxError

check for $scope.$$phase, because digest already
in progess when used from $http