AngularJS Basic HTTP Authentication Example | Jason Watmore's Blog

An example of how to setup a simple login page with HTTP Basic Authentication using AngularJS, and also keep the user logged in after the page is refreshed.