I have an array that looks like this:
$scope.quotes =
[
{
'quote': 'foo',
'author': 'bar',
'source': 'foobar',
'first': 'slideout',
},
{
...
},
]
I'm trying to remove the key-value first: slideout from the array. like this:
delete $scope.quotes[0][first];
I also tried:
delete $scope.quotes[0].first;