title: AngularJS - set selected value in dropdown list where value matches with another object
body: <p>Please see my plunkr below</p>
  
  <p><a href="https://plnkr.co/edit/8xjmL9?p=preview" rel="nofollow noreferrer">https://plnkr.co/edit/8xjmL9?p=preview</a></p>
  
  <p>This what my $scope.data looks like</p>
  
  <pre><code>$scope.data = [  
     {  
        "projectedStart":"2016-12-14T00:00:00"     
     },
     {  
        "projectedStart":"2017-01-04T00:00:00"      
     },
     {  
        "projectedStart":"2017-01-11T00:00:00"      
     }   
  ];
  </code></pre>
  
  <p>This is what my scope.possibleDates look like</p>
  
  <pre><code>$scope.possibleDates = [  
     {  
        "projectedStartDate":"2016-12-07T00:00:00",
        "dateName":"December - Week 1"
     },
     {  
        "projectedStartDate":"2016-12-14T00:00:00",
        "dateName":"December - Week 2"
     },
     {  
        "projectedStartDate":"2016-12-21T00:00:00",
        "dateName":"December - Week 3"
     },
     {  
        "projectedStartDate":"2016-12-28T00:00:00",
        "dateName":"December - Week 4"
     },
     {  
        "projectedStartDate":"2017-01-04T00:00:00",
        "dateName":"January - Week 1 (20/10)"
     },
     {  
        "projectedStartDate":"2017-01-11T00:00:00",
        "dateName":"January - Week 2 (20/10)"
     }
  ]
  </code></pre>
  
  <p>This is what my select looks like which is obviously wrong</p>
  
  <pre><code>&lt;table class="table table-bordered table-hover"&gt;
     &lt;thead&gt;                  
        &lt;tr&gt;
          &lt;th &gt;Projected Date&lt;/th&gt;
       &lt;/tr&gt;
     &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr ng-repeat="d in data"&gt;
              &lt;td&gt;
                  &lt;select class="form-control"
                              ng-model="selectedValue"
                              ng-init="selectedValue = {{data.projectedStart == dates.projectedStartDate}}"
                              ng-options="dates.dateName for dates in possibleDates"&gt;
                   &lt;/select&gt;
              &lt;/td&gt;
          &lt;/tr&gt;                                               
      &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>I am trying to display a dropdown with a list of all the $scope.possibleDates's dateName property which is fine, but I want to have selected the value that matches with the 'projectedStart' in $scope.Data</p>