Let\'s say a service like this:
services.factory(\'User\', function($resource){ return $resource(\'/rest/usersettings/:username\', {}, {
This should work :
User.get( {username: 'bob'} ).$promise.then(function(data) { scope.user = data.toJSON(); });
toJSON() cleans up Angular's internal properties ($$).