Web services for $resource demo