restangular
restangular copied to clipboard
get() misses parameter object properties defined on prototype
Because of angular.forEach() does not enumerate properties defined as Object.defineProperty(object_prototype,...{get:... set:...}), restangular.get() misses such properties, despite of the object overrides toJSON().
I think, that restangular.js @791 angular.forEach(value, function(v) { must looks like angular.forEach(value.toJSON(), function(v) { to mimic the same way as restangulat.post() does