I need to access a specific value from a key inside an array, like this:
$scope.result = [
{
"key":"logo_big",
"value":"/assets/images/aaa.jpg"
},
{
"key":"logo_small",
"value":"/assets/images/logo94x57Bis.png"
},
{
"key":"project_name",
"value":"Company"
},
{
"key":"support_email",
"value":"<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="5337362513343e323a3f7d303c3e">[email protected]</a>"
}
];
How can I retrieve the value of 'logo_big'?
$scope.result['logo_big']
This currently returns undefined.