I am having little issue. I am trying to display some data using ng-repeat like that:
ng-repeat="color in apples[{{index}}].color"
where
$scope.index = $stateParams.index;
However, I get a a syntax error.
What is a proper way to dynamically add index to array in this example?