I echo two thing like
PHP
echo json_encode($obj);
echo json_encode($obj2);
and how I receive it? I thought everything will be fall into the data param. But I got an error saying
SyntaxError: Unexpected token { at Object.parse (native)
$http({
method: 'GET',
url: 'path'
}).
success(function(data, status, headers, config) {
}