(bug fix) moved the appData service to the app.js files