AngularJS template with a basic authentication/login system