Example of AngularJS application with basic authentication