Moving the require statment to the projectCtrl to the application.js