working on AngularJS Login

- Trying to fix issue with Factory