I am working on creating a dynamic page that will display different lists based on certain aspects. The arrays I am using have different variable names, and I have been struggling to use a dynamic ng-repeat expression to achieve this. Can anyone offer some suggestions? I have created a fiddle to better explain what I am looking for.
<div ng-repeat="item in itemsToShow" >
<!--I NEED THIS EXPRESSION TO BE DYNAMIC-->
{{item.name}}, {{item.title}}
[fiddle] http://jsfiddle.net/eTTZj/867/