Missed dependencies in controller.js