I want to use one index file that is called from my main app.js

routes = require('./routes')(app);

The index.js in that routes folder calls

module.exports = function(app) {

but only api calls from virtualmachines are coming with results when I do

curl localhost:8080/api/virtualmachines

What am I missing here. Why only the first route loads?

Thanks much!

You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to