Everything was working until I tried to display a partial file in ng-view.
/public/app/app.js
angular.module(\'app\', [\'ngResource\
app.get('*', function(req, res,next) { if(req.xhr != true) { res.render('index'); } else { next(); } });
modify like this