Properly inject modules in app.js