"Private" property access no longer allowed:
https://groups.google.com/forum/#!msg/angular/7l4j70wlPwI/dgt4chDVseAJ
My $scope returns an array. An object within this array that looks like this:
0: Object
$$hashKey: "004"
FIRST_NAME: "DAVID"
LAST_NAME: "SHORT"
_id: Object
$oid: "5286f54e5b5f47d3bd3145bd"
I would like to have access to both FIRST_NAME and $oid. I can get first name like this:
<li ng-repeat="result in apiResult">
<form ng-submit="findone()">
<span type="text" ng-model="searchTerm" class="">{{result._id}}</span>
<span class="">{{result.FIRST_NAME}}</span>
<input class="btn-primary" type="submit" value="go">
</form>
</li>
I can not access _id. How can I return the id in this example?
result._id
??? – tymeJV yesterday_id
typically comes back in just a key/val pair, this seems to have kept the embedded object.. – tymeJV yesterday