I am trying to set up a MEAN stack web app using yeoman with the generator-gulp-angular, which comes without express server.
I tried to add express, but I am having trouble with it, the index html in .tmp folder doesn't find any of the bower_components folder items.
Anyone have a working example of such setup ?
I added the express server loading file which contains:
app.use(express.static(path.join(rootPath, '/.tmp/serve')));
app.use(express.static(path.join(rootPath, '/bower_components')));
app.use(express.static(path.join(rootPath, '/src')));
app.get('/', function(req, res) {
res.sendFile('/.tmp/serve/index.html');
});