Nodejs web service does not give any reply in Angularjs on html

wines.js:

exports.findAll = function (req, res) {
  res.writeHead(200, {
    'Content-Type': 'application/json'
  });
  res.write(JSON.stringify({
    response: [{
      name: 'wine1'
    }, {
      name: 'wine2'
    }, {
      name: 'wine3'
    }]
  }));
  res.end();
};
exports.findById = function (req, res) {
  res.send({
    id: req.params.id,
    name: "The Name",
    description: "description"
  });
};

server.js:

 var express = require('express');
 var wines = require('./routes/wines');
 var app = express();
 app.get('/wines', wines.findAll);
 app.get('/wines/:id', wines.findById);
 app.listen(9000);
 console.log('Listening on port 9000...');

Basically HTTP URL/wines is giving me three hardcoded wines on browser. When executed same URL from html using AngularJS:

var LocalRestResource = $resource("httpURL/wines", {
  callback: 'JSON_CALLBACK'
}, {
  get: {
    method: 'JSONP'
  }
});
$scope.wines = [];
localRestResource = new LocalRestResource();

localRestResource.get(function (data1) {
  alert('llllllllllll');
  $scope.wines = data1;
});

When the HTML page with the code above is executed on browser, I do not see any alert. But data is obtained from Node server. I can see that on Chrome network console, but I am not seeing any alerts and my HTML is not being rendered with the output from Node server. That means, statements alert('llllllllllll'); and $scope.wines = data1; are not getting executed. Is there anything wrong with the way the REST service implemented? Any headers to be set? I can clearly see that result is obtained but (event based) function is not being called on getting the results.

I tried the FourSquare rest service. I can get the result on the HTML page. That means, there may be something wrong with the way Node's rest service is implemented on my local environment.

Any help is appreciated.

Thanks. Thanks.