AngularJS module to manage HTTP Digest Authentication