<div class="modal-header ng-scope">
    <h3 class="modal-title">A quel Book ajouter cet element ?</h3>
</div>

<div class="modal-body ng-scope">
    <ul class="row ">
        Les books de vos visites:
        <li class="" ng-repeat="i in books | filter:{parent_visit:'!null'}:filter:{ parent_visit: 'null', idArticle: 'null' }">
            <div>
                <a ng-click="addToBook(i.id)">{{ i.title }}</a>
            </div>
        </li>
        Autres Books:
        <li class="" ng-repeat="i in books | filter:{ parent_visit: 'null', idArticle: 'null' }">
            <div>
                <a ng-click="addToBook(i.id)">{{ i.title }}</a>
            </div>
        </li>
    </ul>
</div>

<div class="modal-footer ng-scope">
    <button ng-click="cancel()" class="btn btn-warning">Cancel</button>
</div>