AngularJS Example:
by Ztyx
HTML
<div ng-app="telavox.test">
<div>
<div class="controller" data-ng-controller="MyListLengthAddedController">
<select ng-model="selected">
<option ng-repeat="item.name for item in items"></option>
</select>
Valda: {{selected}}
</div>
</div>
</div>
CSS
</style> <!-- Ugly Hack due to jsFiddle issue: http://goo.gl/BUfGZ -->
<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min.js"></script>
<style>
JavaScript
angular.module('telavox.test', [])
.controller('MyListLengthAddedController', function($scope) {
$scope.items = [{name:"hej"}, {name:"hej2"}, {name:"hej3"}];
})