angular-app/angular-app — pull request #59 by petebacondarwin (2012-10-09 13:28:29+00:00)
Title: Manual login

Fixed up the login so that you can now login and logout manually. Still has the backend security checks. But we now need to add in route-based security on the client side.
This has a number of refactorings, including:
- extracting the login-toolbar stuff into a directive
- extracting the currentUser stuff into a separate service
- making the Authentication service the event emitter rather than the queue.
- using different kind of events to trigger different kinds of logins.
- moved header specific functionality into a HeaderCtrl that is local to the header template.

Feel free to merge if you like it.