angular-resource fix