angular/angular.js — pull request #3643 by pussinboots (2013-08-18 15:04:41+00:00)
Title: Maybe a usefull new configuration parameter encoding for ng-resource modul

Some Time ago i patched the angularjs resource module with a feature that i needed for the development.
Now i found the time to commit this simple feature.

I needed a way to specify if for a certian rest call the provided parameters should be url encoded or not.
Here is a simple resource definition.

$provide.factory('Proxy', function($resource){
var resource = $resource('/proxy/:url' , {}, {
get : {method:'GET', params:{}, isArray:false, encoding:false}
});
return resource;
});

The param :url contains you get it a full url like http://www.google.de. So that parameter should not be url encoded and to adchive this i introduce the encoding parameter like encoding:false.

So maybe you have an advice for me to solve this with no needed of that patch ... .
I am very interressting in feedback for that and i would take the chance and thanks for the great wonderful
work done from you and the gerat piece of software called angularjs.

have a nice day keep working