CAL-43 : Handling for angularjs xmlhttprequest