ng-repeat with options doesn't return object as value
<p>I have a loop "ng-repeat" inside of </p>

<pre><code>&lt;select ng-model="something"&gt;&lt;/select&gt;
</code></pre>

<p>so that each option in a list is rendered as an </p>

<pre><code>&lt;option&gt; 
</code></pre>

<p>inside of select block. My aim is to make "something" (which is a ng-model attached to select) to be equal to a selected object inside of the list. At this moment when I do "value="{{option}}" as a parameter of option, I have a JSON object as a String. But what I need is to get an object as an object. The code looks like this:</p>

<pre><code>&lt;select ng-model="something"&gt;
    &lt;option ng-repeat="option in list" value="{{option}}"&gt;{{option.name}}&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>The thing I want is easily done by using ng-options, but I need to add additional "style" parameters depending on option.anotherField to each </p>

<pre><code>&lt;option&gt;
</code></pre>