See the Code - See it Full Page - See Details
Self contained login form directive. I use this to first load angular from a cdn, so that the user has it for the main application, then directive handles the login request, form validation, and redirection. http://www.hartzis.me/angular-login-directive/
This Pen uses: Jade, Stylus, JavaScript, and