In my controller I am fetching the json by using $http.get like this:
$http.get('http://webapp-app4car.rhcloud.com/product/feed.json').success(function(data)
now data is a JSON and I want to get the value corresponding to JSON key. My key is stored in a variable "key". How can I access the value ? data.key is not working as key is a variable