title: dynamic attribute reference inside angular ng-repeat
body: <p>I build a dropdown directive, and it work with a different objects types, each object has own particular atributes, i need to get some particular field inside a ng-repat of my dropdown, now, it's fixed cityName, how i can change cityName for a variable, which stay on controller?</p>
  
  <pre><code>  &lt;div class="listCombo" ng-show="showDrop" ng-mouseleave="lostFocus()"&gt;
          &lt;table&gt;
              &lt;tr ng-repeat="result in results" ng-click="selectItem(result)"&gt;
                  &lt;td&gt; {{result.cityName}} &lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>For example, i need to get <strong>peopleName</strong> rather than <strong>cityName</strong>.</p>