Login modal is a factory now
Fired login modal from app.run function
Changed order of js scripts in index. App js is loaded at least.