Fix element visibility problems

Change the ng-show to ng-hide as appropriate, and move isLoggedIn to the
scope so that it can be seen in the app.

Signed-off-by: James Lowe <james_gh@jlowe.demon.co.uk>