How to fill dropdown by matching key from array inside ng repeat?
<p>I am having json structure like this:</p>

<pre><code>101 :
     "List": [
      {
        "Name": "Pink"
      },
      {
        "Name": "Black"
      }
    ]

102 :
     "List": [
      {
        "Name": "Red"
      },
      {
        "Name": "Yellow"
      }
    ]

$scope.Ids = [101,102,103,104];
</code></pre>

<p>Now i have 1 ng repeat loop looping on the List of Ids (For eg:101,102) and so i want to fill dropdown by specific Id.For eg for Id 101 i would like to fill Pink,Black and for 102 i would like to fill Red,Yellow in my dropdown and for rest i would like to simply ignore but i am not getting how to achieve this.</p>

<p><strong>code:</strong></p>

<pre><code>&lt;div ng-repeat="item in Ids track by item.id"&gt;
  &lt;select ng-model="color" ng-options=""&gt;
         &lt;option value=""&gt;-- choose color --&lt;/option&gt;
      &lt;/select&gt;
&lt;/div&gt;
</code></pre>