Is possible to iterating over objects and check their property ?
{
Obj1 : { visible : true, value : 2}
Obj2 : { visible : false, value : 4}
Obj3 : { visible : true, value : 6}
}
HTML:
<ul ng-show="data.templates.attachments">
<li ng-repeat="(key, value) in data.templates.attachments | filter : value.visible">{{key}}</li>
</ul>
If I would like to show only key it is perfect, but I would like to hide these invisibles.