zagales-diy-1 webservices with $resource instead $http