Greetings,

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) {
require('./virtualmachines')(app); 
require('./hardwares')(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 angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to