How can I do if I am trying to combine 2 string values? For example ng-repeat = "a in (name + 'List')". The name string value in this expression allList, jonnyList, henryList. How can I do that?
Example code:
<ul ng-repeat="a in name+List"> // i want if "name = 'all'", Return the values in allList.
<li>{{a}}</li>
</ul>