strange fix to $http callbacks.

To go deeper and find better solution...