fixed annoying compile error with htmlmin
moved datafactory to app.js