update _transformResponse to support angular 1.3.0