I have the following repetition:
<div ng-repeat="post in posts" class="modal fade modal-custom " id="myModal[[post.id_post]]" tabindex="-1" role="dialog" aria-labelledby="myModalLabel[[post.id_post]]" aria-hidden="true">
...
</div>
If post.open is equal to 1, I want the popup to open automatically, some tip?
thanks in advance.