separating Angular app.js from controllers and factories