I have a little problem with an AngularJs template I would like to evaluate something like this :
<span>{{myObject[prop]}}</span>
When I have a controller such like this :
$scope.myObject = { code: "1", value: "foo" };
$scope.prop = 'value';
In fact, I would like to dynamically retrieve a property of an object in a template. Here I would like to bind "myObject.value".
Thanks for your help !