SyntaxError:JSON中的意外标记t

Im creting a angular app that gets some data from a api available online, first i get the api information from my php script than in my angularjs app i go get the json result, but is giving me the error of "SyntaxError: Unexpected token t in JSON ", cant figure out why.

My php:

header('Content-Type: application/json');
// jSON URL which should be requested
$json_url = "http://iatageo.com/getLatLng/OPO";

// Initializing curl
$ch = curl_init( $json_url );
// Configuring curl options

// Getting results
$result = curl_exec($ch); // Getting jSON result string

echo json_encode($result);

Controller:

 $http.get('iata.php').then(function(response){
        $scope.originLatLong = response.data;
console.log($scope.originLatLong);
    });

Just paste your URL in browser, it will return:

{"latitude":"41.2481002808","longitude":"-8.68138980865","code":"OPO"}true

You getting error, because you took all data from responce, with boolean parameter after JSON. So, check responce var first and then retrieve valid data you need.

Best regards.