login working with modal now, angular 1.2.2