AngularJS Basic HTTP Authentication Example Jul 26, 2015 The following is 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. view source Advertisement