I have this json object:
[{"@type":"XPickup","companyId":24,"companyCode":null}]
How do I read @type in my angularjs controller to display or modify it. I am unable to access it using:
$scope.object.@type // syntax error
$scope.object.type // undefined
Please tell me how do I access the @type key from my json object.
Thanks.