title: Select with ng-options and array as value
body: <p>I have the following array:</p>
  
  <pre><code>$scope.array = [{value: ['a'], name: 'A'}, {value: ['a', 'b'], name: 'A/B'}, {value: ['a', 'b', 'c'], name: 'ABC' }];
  </code></pre>
  
  <p>And I want to add a select to my html loading the data from the array. The point is that I want to put as a value of the option, the value of the key <code>value</code> but it's not selecting the default option properly.</p>
  
  <pre><code>&lt;select class="form-control" ng-options="element as element.name for element in array track by element.value" ng-model="form.element"&gt;&lt;/select&gt;
  </code></pre>
  
  <p>The object that I use for the <code>ng-model</code> looks like this when I initiate the application:</p>
  
  <pre><code>$scope.form = {element: ['a'], otherField: 'test'}
  </code></pre>
  
  <p>So it should select the first element of the array as default value but it's not working. </p>
  
  <p>You can find the fiddle here: <a href="https://jsfiddle.net/7L9gu8ce/" rel="nofollow">Fiddle</a></p>