javascript - AngularJS SPA with Node.js and parse.com backend -
i have angularjs spa ui-router works perfectly. uses parse.com backend, , have working on regular apache server. now want move node.js server-app, , want node.js handle cruds parse.com. i set nice little node.js app act server, , works. my question is: how handle requests between node.js server-app , angularjs spa? i've included server.js file, in case can use it. // set ===================================================================================================== var express = require('express'), path = require('path'), morgan = require('morgan'), bodyparser = require('body-parser'), methodoverride = require('method-override'), routes = require('routes'), keys = require('./config/keys'), port = 80; var app = express(); var parse = require('parse/node').parse; // view engine setup ==============================================================================...