I have a list :
$scope.selectlist = ["list1","list2","list3"];
Once I choose an element, I should display the list according to the select value knowing that I have these lists in my scope :
$scope.list1
$scope.list2
$scope.list3
Any ideas to make it work ?
I thought doing :
<div ng-repeat="i in selectedPerson">
{{selectedPerson}}
</div>
will work.