Added Basic Auth and AngularJS