title: Angular select ng-options hell
body: <p>I'm struggling to understand to documentation for <a href="http://docs.angularjs.org/api/ng/directive/select" rel="nofollow">ngOptions</a></p>
  
  <p>I have a simple array : <code>['code1' , 'code2']</code> and I just want to iterate over and construct option value and label as follow :</p>
  
  <p>What I expect :</p>
  
  <pre><code>&lt;select&gt;
      &lt;option value="" class=""&gt;All&lt;/option&gt;
      &lt;option value="code1"&gt;code1.label&lt;/option&gt;
      &lt;option value="code2"&gt;code2.label&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>What I've tried :</p>
  
  <pre><code>&lt;select ng-model="select" ng-options="option  + '.label' for option in ['code1', 'code2']"&gt;
      &lt;option value=""&gt;All&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>What I get :</p>
  
  <pre><code>&lt;select&gt;
      &lt;option value="" class=""&gt;All&lt;/option&gt;
      &lt;option value="0"&gt;code1.label&lt;/option&gt;
      &lt;option value="1"&gt;code2.label&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>See that values aren't what I want .. I tested almost all possible syntax of the documentation without success.</p>
  
  <p>ps: I've simplified the code, but I use angular-translate to translate the received code and put that translation in the option label.</p>
  
  <p>JsFiddle : <a href="http://jsfiddle.net/3ekAj/" rel="nofollow">http://jsfiddle.net/3ekAj/</a></p>