Template refactoring for ng-model changes
Fix authentication directive for angular upgrade

The isolation scopes are truly isolated better, or evaluation
of the submit handler is happening from the descendent cousin
scopes of the isolated directive. I could probably have moved
the ng-submit handler below the authentication directive, but
I didn't see a compelling reason for the directive to stay in
an isolated scope.
Upgrade Angular to v1.2.13
whitespace