mgonto/restangular — pull request #717 by T0MASD (2014-05-22 01:13:57+00:00)
Title: Set full response, use ResponseExtractor to return data, expect msg data...

... to be the same as messages
Here's a test case validating problem in https://github.com/mgonto/restangular/issues/716
Response:
```Expected { data : [ { id : 23, name : 'Gonto', route : 'messages', getRestangularUrl : Function, getRequestedUrl : Function, addRestangularMethod : Function, clone : Function, reqParams : null, withHttpConfig : Function, plain : Function, one : Function, all : Function, several : Function, oneUrl : Function, allUrl : Function, fromServer : true, parentResource : { route : 'accounts', singleOne : undefined, parentResource : null, id : 1 }, getParentList : Function, restangularCollection : false, get : Function, getList : Function, put : Function, post : Function, remove : Function, head : Function, trace : Function, options : Function, patch : Function, save : Function, customOperation : Function, doPUT : Function, customPUT : Function, doPOST : Function, customPOST : Function, doGET : Function, customGET : Function, doDELETE : Function, customDELETE : Function, customGETLIST : Function, doGETLIST : Function }, { id : 45, name : 'John', route : 'messages', getRestangularUrl : Function, getRequestedUrl : Function, addRestangularMethod : Function, clone : Function, reqParams : null, withHttpConfig : Function, plain : Function, one : Function, all : Function, several : Function, oneUrl : Function, allUrl : Function, fromServer : true, parentResource : { route : 'accounts', singleOne : undefined, parentResource : null, id : 1 }, getParentList : Function, restangularCollection : false, get : Function, getList : Function, put : Function, post : Function, remove : Function, head : Function, trace : Function, options : Function, patch : Function, save : Function, customOperation : Function, doPUT : Function, customPUT : Function, doPOST : Function, customPOST : Function, doGET : Function, customGET : Function, doDELETE : Function, customDELETE : Function, customGETLIST : Function, doGETLIST : Function } ], status : 200, headers : Function, config : { method : 'GET', transformRequest : [ Function ], transformResponse : [ Function ], headers : { Accept : 'application/json, text/plain, */*' }, url : '/accounts/1/messages' }, statusText : '' } to equal [ { id : 23, name : 'Gonto' }, { id : 45, name : 'John' } ].```