Ng-repeat usage for an array

5 views
Skip to first unread message

Anirudh Pratap Singh Sengar

unread,
Mar 27, 2020, 2:45:15 PM3/27/20
to Angular and AngularJS discussion

I have this array structure

$scope.allRooms = [{
‘City’: ‘xyz’,
‘Building’:[‘1’, ‘2’]
}];

How should I ng-repeat Building as <select> options
Reply all
Reply to author
Forward
0 new messages