I\'m getting a strange behaviour with AngularJS\'s $http and not really understanding how transformResponse works (the docs are a bit light on this one).
Resource 0: "f" 1: "a" 2: "l" 3: "s" 4: "e" This finally worked for me:
transformResponse: function (data, headersGetter) { return { isCorrect: angular.fromJson(data) } }