Angular: Empty Fiddle
http://angularjs.org/
HTML
<script src="http://code.angularjs.org/angular-1.0.0rc10.js"></script>
<div ng-controller="MyCtrl">
<select ng-options="classif.label for classif in classifications.functions">
<option>Select it</option>
</select>
{{ classifications.functions | json }}
</div>
JavaScript
var myApp = angular.module('myApp',[]);
function MyCtrl($scope) {
$scope.classifications = {
'functions' : [{
id:0,
label:'toto',
childs: [
{id:1,label: 'coucou'},
{id:2,label: 'hello'}
]
},{
id:3,
label:'hihi'
childs: [
{id:4,label: 'voilĂ '}
]
}]
}
}