Enables HTTP batch request with AngularJS