How to get "selected : true" from arrays
<p>Hi I want to know how to get ID's of selected array.
I have collection around 100 of arrays. I have checkbox and some of checked arrays. They have property "selected : true" but i cant print it out. I tryied many combinations but still doesnt work.</p>

<pre><code>$scope.Sel = [$scope.myText.Selected];
var test = $scope.myText.Selected.id;
var test  = $scope.myText.Selected;

etc.
</code></pre>