Update angular-resource.js