All $http changed to $resource there is possible