angular.module("templates", []).run(["$templateCache", function($templateCache) {$templateCache.put("auth/login_modal.html","<div class=\"modal-header ng-scope\">\n    <h3 class=\"modal-title\">Authentication Page</h3>\n</div>\n\n<form ng-submit=\"login()\">\n    <div class=\"modal-body ng-scope\">\n        <input type=\"text\" class=\"form-control\" ng-model=\'email\' placeholder=\"Email\">\n        <input type=\"password\" class=\"form-control\" ng-model=\'password\' placeholder=\"Password\">\n    </div>\n\n    <div class=\"modal-footer ng-scope\">\n        <a href=\'\' ng-click=\"register()\">Creer un compte</a>\n        <button type=\"button\" ng-click=\"cancel()\" class=\"btn btn-warning\">Cancel</button>\n        <button type=\"submit\" ng-disabled=\"userForm.$invalid\" class=\"btn btn-primary\">Login</button>\n    </div>\n</form>");
$templateCache.put("auth/logout_modal.html","<div class=\"modal-header ng-scope\">\n    <h3 class=\"modal-title\">Deconnection</h3>\n</div>\n\n<div class=\"modal-body ng-scope\">\n    <p>Vous n\'est plus connecté</p>\n</div>\n\n<div class=\"modal-footer ng-scope\">\n    <button ng-click=\"cancel()\" class=\"btn btn-warning\">Acceuil</button>\n</div>");
$templateCache.put("auth/register_modal.html","<div class=\"modal-header ng-scope\">\n    <h3 class=\"modal-title\">Créer un Compte</h3>\n</div>\n\n<form ng-submit=\"register()\">\n    <div class=\"modal-body ng-scope\">\n            <input type=\"text\" class=\"form-control\" ng-model=\'username\' placeholder=\"Nom d\'utilisateur\"></input>\n            <input type=\"text\" class=\"form-control\" ng-model=\'email\' placeholder=\"Email\"></input>\n            <input type=\"password\" class=\"form-control\" ng-model=\'password\' placeholder=\"Mot de passe\"></input>\n            <input type=\"password\" class=\"form-control\" ng-model=\'password2\' placeholder=\"Confirmer le mot de pass\"></input>\n    </div>\n    \n    <div class=\"modal-footer ng-scope\">\n        <button type=\"button\" ng-click=\"back()\" class=\"btn btn-warning\">Retour</button>\n        <button type=\"submit\" class=\"btn btn-primary\">Créer</button>\n    </div>\n</form>");
$templateCache.put("books/add_book_modal.html","<div class=\"modal-header ng-scope\">\n    <h3 class=\"modal-title\">Vous voulez partager ce book ? </h3>\n</div>\n\n<div class=\"modal-body ng-scope\">\n    <ul class=\"row \">\n        Les books de vos visites:\n        <li class=\"\" ng-repeat=\"i in books | filter:{parent_visit:\'!null\'}:filter:{ parent_visit: \'null\', idArticle: \'null\' }\">\n            <div>\n                <a ng-click=\"addToBook(i.id)\">{{ i.title }}</a>\n            </div>\n        </li>\n        Autres Books:\n        <li class=\"\" ng-repeat=\"i in books | filter:{ parent_visit: \'null\', idArticle: \'null\' }\">\n            <div>\n                <a ng-click=\"addToBook(i.id)\">{{ i.title }}</a>\n            </div>\n        </li>\n    </ul>\n</div>\n\n<div class=\"modal-footer ng-scope\">\n    <button ng-click=\"cancel()\" class=\"btn btn-warning\">Cancel</button>\n</div>");
$templateCache.put("books/add_modal.html","<div class=\"modal-header ng-scope\">\n    <h3 class=\"modal-title\">Ajouter un nouveau Book</h3>\n</div>\n\n<form ng-submit=\"add()\" novalidate>\n    <div class=\"modal-body ng-scope\">\n        <input type=\"text\" class=\"form-control\" ng-model=\'title\' placeholder=\"Titre\"></input>\n    </div>\n    \n    <div class=\"modal-footer ng-scope\">\n        <button type=\"button\" ng-click=\"cancel()\" class=\"btn btn-warning\">Cancel</button>\n        <button type=\"submit\" class=\"btn btn-primary\">Create</button>\n    </div>    \n</form>");
$templateCache.put("books/book.html","<accordion close-others=\"false\"> \n    <accordion-group is-open=true>\n        <accordion-heading>  \n            <a class=\"title\" ng-click=\"$event.stopPropagation();\" href=\"#/books/{{ book.id }}\">{{ book.title }}</a>\n            <a class=\"pull-right\" ng-click=\"$event.preventDefault(); $event.stopPropagation();\"><span class=\"glyphicon glyphicon-share\"></span></a>\n            <a class=\"pull-right\" ng-click=\"$event.preventDefault(); $event.stopPropagation();\"><span class=\"glyphicon glyphicon-cog\"></span></a>\n            <a class=\"pull-right\" ng-click=\"$event.stopPropagation(); $event.stopPropagation();\" href=\"#/slideshow/{{ book.id }}\"><span class=\"glyphicon glyphicon-eye-open\"></span></a>\n        </accordion-heading>\n            \n        <p class=\"nbrObjects\">{{book.slides.length}} objets</p>\n        \n        <ul ui-sortable=\"sortableOptions\" ng-model=\"book.slides\" class=\"list-inline container-fluid gallery \">\n        \n            <li class=\"item\" ng-class=\"{\'no-img\': !slide.details.images[0]}\" ng-repeat=\"slide in book.slides\">\n                <ng-include src=\"\'books/galleryItem.html\'\"></ng-include>\n            </li>\n            \n        </ul>\n    </accordion-group>\n</accordion>\n");
$templateCache.put("books/books.html","\n\n<accordion close-others=\"false\">\n    <accordion-group ng-repeat=\"book in books | filter:{ parent_visit: \'!null\', idArticle: \'null\' }\" is-open=true>\n\n        <accordion-heading>\n\n            <a class=\"title\" ng-click=\"$event.stopPropagation();\" href=\"#/books/{{ book.id }}\">{{ book.title }}</a>\n            <a class=\"pull-right\" ng-click=\"$event.preventDefault(); $event.stopPropagation(); addBook(book.id)\"><span class=\"glyphicon glyphicon-share\"></span></a>\n            <a class=\"pull-right\" ng-click=\"$event.preventDefault(); $event.stopPropagation();\"><span class=\"glyphicon glyphicon-cog\"></span></a>\n            <a class=\"pull-right\" ng-click=\"$event.stopPropagation();\" href=\"#/slideshow/{{ book.id }}\"><span class=\"glyphicon glyphicon-eye-open\"></span></a>\n            <a class=\"pull-right\" ng-click=\"$event.preventDefault(); $event.stopPropagation(); addBook(book.id)\">Nouveau Book</a>\n        \n        </accordion-heading>\n\n        <p class=\"nbrObjects\">{{book.count}} objets</p>\n        \n        <div class=\"list-books\" ng-repeat=\"childBook in books | filter:{ parent_visit: book.id }:true\">\n                <a href=\"#/books/{{ childBook.id }}\">{{ childBook.title }}</a>\n                <a class=\"pull-right\" ng-click=\"deleteItem(childBook)\"><span class=\"glyphicon glyphicon-minus\"></span></a>\n        </div>\n        \n        <ul ng:model=\"slides\" class=\"list-inline gallery container-fluid\">\n            <li class=\"item\" ng-class=\"{\'no-img\': !slide.details.images[0]}\" ng-repeat=\"slide in book.slides\">\n                <ng-include src=\"\'books/galleryItem.html\'\"></ng-include>\n            </li>\n        </ul>\n\n        <div ng-repeat=\"parentBook in books | filter:{ id: book.parent_visit }:true\" >\n                {{parentBook.title }}\n        </div>\n \n        \n\n    </accordion-group>\n    \n</accordion>\n\n<a class=\"btn btn-default\" ng-click=\"addBook()\"><span class=\"glyphicon glyphicon-plus\"></span></a>");
$templateCache.put("books/galleryItem.html","\n<a href=\"#/slide/{{slide.id}}\"><img ng-src=\"{{ slide.details.images[0] }}\" my-customer /></a>\n<div class=\"gallery-buttons\">\n    <a ng-click=\"slide.toggleFavorite()\"><span ng-class=\"{\'glyphicon-star\': slide.favorite, \'glyphicon-star-empty\': !slide.favorite}\" class=\"glyphicon\"></span></a>\n    <a ng-click=\"toggleModal($index)\"><span class=\"glyphicon glyphicon-plus\"></span></a>\n    <a ng-show=\"editable\" class=\"pull-right\" ng-click=\"slide.remove(book.slides)\"><span class=\"glyphicon glyphicon-trash\"></span></a>\n</div>\n<a href=\"#/slide/{{slide.id}}\"><p>{{ slide.details.title }}</p></a>");
$templateCache.put("home/home.html","<h1>Ammico Application</h1>\n\n<p>\n    Le Lorem Ipsum est simplement du faux texte employé dans la composition \n    et la mise en page avant impression. Le Lorem Ipsum est le faux texte standard de \n    l\'imprimerie depuis les années 1500, quand un peintre anonyme assembla ensemble des \n    morceaux de texte pour réaliser un livre spécimen de polices de texte. Il n\'a pas fait \n    que survivre cinq siècles, mais s\'est aussi adapté à la bureautique informatique, sans \n    que son contenu n\'en soit modifié. Il a été popularisé dans les années 1960 grâce à la \n    vente de feuilles Letraset contenant des passages du Lorem Ipsum, et, plus récemment,\n    par son inclusion dans des applications de mise en page de texte, comme Aldus PageMaker.\n</p>");
$templateCache.put("my_visit/add_modal_my_visit.html","<div class=\"modal-header ng-scope\">\n    <h3 class=\"modal-title\">Ajouter un nouveau Book</h3>\n</div>\n\n<form ng-submit=\"add()\" novalidate>\n    <div class=\"modal-body ng-scope\">\n        <input type=\"text\" class=\"form-control\" ng-model=\'title\' placeholder=\"Titre\"></input>\n    </div>\n    \n    <div class=\"modal-footer ng-scope\">\n        <button type=\"button\" ng-click=\"cancel()\" class=\"btn btn-warning\">Cancel</button>\n        <button type=\"submit\" class=\"btn btn-primary\">Create</button>\n    </div>    \n</form>");
$templateCache.put("my_visit/my_visit.html","\n\n<accordion close-others=\"false\">\n  <accordion-group ng-repeat=\"parentBook in books | filter:{ parent_visit: \'null\', idArticle: \'!null\' } | orderBy: \'date\' | limitTo : 1\" is-open=true>\n    <accordion-heading>\n\n      <a class=\"title\" ng-click=\"$event.stopPropagation();\" href=\"#/my_visit/{{parentBook.id}}\">{{ parentBook.title }}</a>\n      <a class=\"pull-right\" ng-click=\"$event.preventDefault(); $event.stopPropagation(); share($index)\"><span class=\"glyphicon glyphicon-share\"></span></a> \n      <a class=\"pull-right\" ng-click=\"$event.preventDefault(); $event.stopPropagation(); edit()\"><span class=\"glyphicon glyphicon-cog\"></span></a>\n      <a class=\"pull-right\" ng-click=\"$event.stopPropagation();\" href=\"#/slideshow/{{ parentBook.id }}\"><span class=\"glyphicon glyphicon-eye-open\"></span></a>\n      <a class=\"pull-right\" ng-click=\"$event.preventDefault(); $event.stopPropagation(); addBook(parentBook.id)\">Créer un Book</a>\n      \n    </accordion-heading>\n        <p class=\"nbrObjects\">{{parentBook.slides.length}} objets</p>\n\n        <ul ng:model=\"slides\" class=\"list-unstyled list-inline gallery container-fluid\">\n        \n            <li class=\"item\" ng-class=\"{\'no-img\': !slide.details.images[0]}\" ng-repeat=\"slide in parentBook.slides\">\n                <ng-include src=\"\'books/galleryItem.html\'\"></ng-include>\n            </li>\n        </ul>\n    </accordion-group>\n</accordion>\n\n<a class=\"btn btn-default\" ng-click=\"addBook()\"><span class=\"glyphicon glyphicon-plus\"></span></a>");
$templateCache.put("my_visit/share_modal_my_visit.html","<div class=\"modal-header ng-scope\">\n    <h3 class=\"modal-title\">Où souhaitez-vous partager ce book ?</h3>\n</div>\n\n<form ng-submit=\"share()\" novalidate>\n    <div class=\"modal-body ng-scope\">\n\n<a class=\"btn btn-social-icon btn-twitter\">\n    <i class=\"fa fa-twitter\"></i>\n  </a>\n\n    <div class=\"modal-footer ng-scope\">\n        <button type=\"button\" ng-click=\"cancel()\" class=\"btn btn-warning\">Cancel</button>\n        <button type=\"submit\" class=\"btn btn-primary\">Create</button>\n    </div>    \n</form>");
$templateCache.put("search/modal.html","<div class=\"modal-header ng-scope\">\n    <h3 class=\"modal-title\">A quel Book ajouter cet element ?</h3>\n</div>\n\n<div class=\"modal-body ng-scope\">\n    <ul class=\"row \">\n        Les books de vos visites:\n        <li class=\"\" ng-repeat=\"i in books | filter:{parent_visit:\'!null\'}:filter:{ parent_visit: \'null\', idArticle: \'null\' }\">\n            <div>\n                <a ng-click=\"addToBook(i.id)\">{{ i.title }}</a>\n            </div>\n        </li>\n        Autres Books:\n        <li class=\"\" ng-repeat=\"i in books | filter:{ parent_visit: \'null\', idArticle: \'null\' }\">\n            <div>\n                <a ng-click=\"addToBook(i.id)\">{{ i.title }}</a>\n            </div>\n        </li>\n    </ul>\n</div>\n\n<div class=\"modal-footer ng-scope\">\n    <button ng-click=\"cancel()\" class=\"btn btn-warning\">Cancel</button>\n</div>");
$templateCache.put("search/search.html","<h1>\n    Recherche <span ng-if=\"q !=\'\' \"> : {{ q }}</span>\n</h1>\n<h4 class=\"subtitle\" ng-if=\"results.nhits>0\">{{ results.nhits }} résultat(s)</h4>\n\n<div ng-if=\"results.nhits>0\">\n    <div class=\"row search-item\" ng-repeat=\"h in results.hits\"\n        ng-init=\"h.imgbig=false\">\n        <div ng-class=\"{\'col-md-5\': h.imgbig, \'col-md-3\': !h.imgbig}\">\n            <img ng-src=\"{{ h.metas_dict.images }}\" ng-class=\"{\'search-img-max\': !h.imgbig}\" ng-click=\"h.imgbig=!h.imgbig\" />\n        </div>\n        <div ng-class=\"{\'col-md-5\': h.imgbig, \'col-md-7\': !h.imgbig}\">\n            <p>\n                <strong>Nom&nbsp;:</strong> {{ h.metas_dict.name }}\n            </p>\n            <p>\n                <strong>Description&nbsp;:</strong> {{ h.metas_dict.description }}\n            </p>\n            <div ng-show=\"h.imgbig\">\n                <p>\n                    <small><strong>Classification&nbsp;:</strong> {{ h.metas_dict.classification }}</small>\n                </p>\n                <p>\n                    <small><strong>Propriétaire actuel&nbsp;:</strong> {{ h.metas_dict.currentcustody }}</small>\n                </p>\n                <p>\n                    <small><strong>Ancien propriétaire&nbsp;:</strong> {{ h.metas_dict.formercustody }}</small>\n                </p>\n                <p>\n                    <small><strong>Mesures&nbsp;:</strong> {{ h.metas_dict.measures }}</small>\n                </p>\n                <p>\n                    <small><strong>Acteurs&nbsp;:</strong> {{ h.metas_dict.actors }}</small>\n                </p>\n                <p>\n                    <small><strong>Lieux&nbsp;:</strong> {{ h.metas_dict.places }}</small>\n                </p>\n            </div>\n        </div>\n        <div class=\"col-md-1\">\n            <a class=\"btn btn-default\" ng-click=\"toggleModal($index)\"><span class=\"glyphicon glyphicon-plus\"></span></a>\n            <a class=\"btn btn-default\" ng-click=\"h.imgbig=!h.imgbig\"><span class=\"glyphicon glyphicon-eye-open\"></span></a>\n        </div>         \n    </div>\n</div>\n");
$templateCache.put("slides/data_editor.html","<div class=\"user-details\">\n    <div ng-hide=\"slide.editMode\">\n        <label>Votre Titre</label>\n        <h4 ng-dblClick=\"doubleClick()\">{{slide.title}}</h4>\n        <label>Vos commentaires</label>\n        <p ng-dblClick=\"doubleClick()\" class=\"description\">{{slide.description}}</p>\n        <label>Tags</label>\n        <p ng-dblClick=\"doubleClick()\"><em>{{slide.tags.join(\', \')}}</em></p>\n        <div class=\"text-right\"><button id=\"btn-search-annotations\" class=\"btn\" ng-click=\"slide.editMode=true\"><span class=\"glyphicon glyphicon-pencil\"></span></button></div>\n    </div>\n\n    <div ng-show=\"slide.editMode\">\n        <input type=\"text\" class=\"form-control\" ng-model=\'slide.title\' placeholder=\"Titre\"></input>\n        <textarea class=\"form-control editor-textarea\" ng-model=\'slide.description\' placeholder=\"Description\"></textarea>\n        <input type=\"text\" class=\"form-control\" ng-model=\'slide.tags\' placeholder=\"Tags\"></input>\n        <div class=\"text-right\"><button id=\"btn-search-annotations\" class=\"btn\" ng-click=\"slidesave()\"><span class=\"glyphicon glyphicon-ok\"></span></button></div>\n    </div>\n</div>");
$templateCache.put("slides/slides.html","<div class=\"slide row\">\n    <div class=\"slide-title\">\n        <h1>{{slide.title}} - {{slide.details.title}}</h1>\n    </div>\n    <div class=\"slide-nav\">\n        <a id=\"back\" href=\"#/books/{{slide.book}}\">&laquoRetour galerie</a>\n        <a id=\"next\" href=\"#\">Suivant&raquo</a>\n        <a id=\"previous\" href=\"#\">&laquoPrecedents</a>\n    </div>\n    <div class=\"container slide-content\">\n        <div class=\"col-md-8 media\">\n            <figure ng-if=\"slide.details.images && !slide.details.video\" ng-repeat=\"image in slide.details.images\">\n                <img ng-src=\"{{image}}\" style=\"margin: auto;\">\n                  <figcaption>{{slide.details.captions[$index]}}</figcaption>\n            </figure> \n            <audio ng-if=\"slide.details.audio\" ng-src=\"{{ slide.details.audio }}\" style=\"margin: auto; controls loop\"></audio>\n            <video ng-if=\"slide.details.video\" ng-src=\"{{ slide.details.video }}\" style=\"margin: auto;\" controls></video>\n        </div>\n        <div class=\"col-md-4 caption\">\n            <slide-editor index=\"{{$index}}\"></slide-editor>\n            <hr />\n            <div class=\"details\">\n                <p><strong>Titre&nbsp;:&nbsp;</strong><small>{{slide.details.title}}</small></p>\n                <p><strong>Description&nbsp;:&nbsp;</strong><small>{{slide.details.description}}</small></p>\n                <p><strong>Numéro d\'Inventaire&nbsp;:&nbsp;</strong><small>{{slide.details.idInventory}}</small></p>\n            </div>\n        </div>\n    </div>\n</div>\n");
$templateCache.put("slideshow/slideshow.html","<div class=\"slideshow  container-fluid\">\n    <div class=\"row slideshow-title\">\n            <h1 class=\"book\">\n                {{book.title}}\n                <small>par Jonathan Linvingston</small>\n            </h1>\n            <h1 class=\"pull-right poi\"><small>{{book.count}} points d\'intérêts</small></h1>\n    </div>\n    <div class=\"carousel-holder row\">\n        <carousel>\n            <slide ng-repeat=\"slide in slides\" active=\"slide.active\">\n                <div class=\"container-fluid slideshow-content\">\n                    <div class=\"col-sm-8 media\">\n                        <img ng-if=\"slide.details.images[0]\" ng-src=\"{{ slide.details.images[0] }}\" style=\"margin: auto;\">\n                        <audio ng-if=\"slide.details.audio\" ng-src=\"{{ slide.details.audio }}\" style=\"margin: auto; controls loop\"></audio>\n                        <video ng-if=\"slide.details.video\" ng-src=\"{{ slide.details.video }}\" style=\"margin: auto;\" controls></video>\n                    </div>\n                    <div class=\"col-sm-4 caption\">\n                        <div class=\"user-details\">\n                            <h1>{{slide.title}}</h1>\n                            <p>{{slide.description}}</p>\n                            <p>\n                                <em>{{slide.tags.join(\', \')}}</em>\n                            </p>\n                        </div>\n                        <div class=\"details\">\n                            <p>\n                                <strong>Titre&nbsp;:&nbsp;</strong><small>{{slide.details.title}}</small>\n                            </p>\n                            <p>\n                                <strong>Description&nbsp;:&nbsp;</strong><small>{{slide.details.description}}</small>\n                            </p>\n                        </div>\n                    </div>\n                </div>\n            </slide> \n        </carousel>\n        <div class=\"insight\" >\n            <div class=\"item\" ng-repeat=\"slide in slides\" data-ng-click=\"slide.active = true\">\n                <img ng-src=\"{{ slide.details.images[0] }}\" my-customer />\n            </div>\n        </div>\n    </div>\n</div>\n");
$templateCache.put("visites/add_book_modal.html","<div class=\"modal-header ng-scope\">\n    <h3 class=\"modal-title\">A quel Book ajouter cet element ?</h3>\n</div>\n\n<div class=\"modal-body ng-scope\">\n    <ul class=\"row \">\n        Les books de vos visites:\n        <li class=\"\" ng-repeat=\"i in books | filter:{parent_visit:\'!null\'}:filter:{ parent_visit: \'null\', idArticle: \'null\' }\">\n            <div>\n                <a ng-click=\"addToBook(i.id)\">{{ i.title }}</a>\n            </div>\n        </li>\n        Autres Books:\n        <li class=\"\" ng-repeat=\"i in books | filter:{ parent_visit: \'null\', idArticle: \'null\' }\">\n            <div>\n                <a ng-click=\"addToBook(i.id)\">{{ i.title }}</a>\n            </div>\n        </li>\n    </ul>\n</div>\n\n<div class=\"modal-footer ng-scope\">\n    <button ng-click=\"cancel()\" class=\"btn btn-warning\">Cancel</button>\n</div>");
$templateCache.put("visites/add_modal_visites.html","<div class=\"modal-header ng-scope\">\n    <h3 class=\"modal-title\">Ajouter un nouveau Book</h3>\n</div>\n\n<form ng-submit=\"add()\" novalidate>\n    <div class=\"modal-body ng-scope\">\n        <input type=\"text\" class=\"form-control\" ng-model=\'title\' placeholder=\"Titre\"></input>\n    </div>\n    \n    <div class=\"modal-footer ng-scope\">\n        <button type=\"button\" ng-click=\"cancel()\" class=\"btn btn-warning\">Cancel</button>\n        <button type=\"submit\" class=\"btn btn-primary\">Create</button>\n    </div>    \n</form>");
$templateCache.put("visites/visite.html"," <accordion close-others=\"false\">\n    <accordion-group is-open=true>\n        <accordion-heading>  \n            <a class=\"title\" ng-click=\"$event.stopPropagation();\" href=\"#/visites/{{ visit.id }}\">{{ visit.title }}</a>\n            <a class=\"pull-right\" ng-click=\"$event.preventDefault(); $event.stopPropagation();\"><span class=\"glyphicon glyphicon-share\"></span></a>\n            <a class=\"pull-right\" ng-click=\"$event.preventDefault(); $event.stopPropagation();\"><span class=\"glyphicon glyphicon-cog\"></span></a>\n            <a class=\"pull-right\" ng-click=\"$event.stopPropagation();\" href=\"#/slideshow/{{ parentBook.id }}\"><span class=\"glyphicon glyphicon-eye-open\"></span></a>\n            <a class=\"pull-right\" ng-click=\"$event.preventDefault(); $event.stopPropagation(); addBook(parentBook.id)\">Créer un Book</a>\n        </accordion-heading>\n        \n        <p class=\"nbrObjects\">{{parentBook.slides.length}} objets</p>\n        \n        <ul class=\"list-unstyled list-inline gallery container-fluid\">\n            <li class=\"item\" ng-class=\"{\'no-img\': !slide.details.images[0]}\" ng-repeat=\"slide in visit.slides\">\n                <ng-include src=\"\'books/galleryItem.html\'\"></ng-include>\n            </li>\n        </ul>\n    </accordion-group>\n</accordion>\n");
$templateCache.put("visites/visites.html","<accordion close-others=\"false\">\n    <accordion-group ng-repeat=\"visit in books | filter:{ parent_visit: \'null\', idArticle: \'!null\' } | orderBy: \'date\' \" is-open=true>\n\n        <accordion-heading>\n            <a class=\"title\" ng-click=\"$event.stopPropagation();\" href=\"#/visites/{{ visit.id }}\">{{ visit.title }}</a>\n            <a class=\"pull-right\" ng-click=\"$event.preventDefault(); $event.stopPropagation();\"><span class=\"glyphicon glyphicon-share\"></span></a>\n            <a class=\"pull-right\" ng-click=\"$event.preventDefault(); $event.stopPropagation(); edit()\"><span class=\"glyphicon glyphicon-cog\"></span></a>\n            <a class=\"pull-right\" ng-click=\"$event.stopPropagation();\" href=\"#/slideshow/{{ visit.id }}\"><span class=\"glyphicon glyphicon-eye-open\"></span></a>\n            <a class=\"pull-right\" ng-click=\"$event.preventDefault(); $event.stopPropagation(); addBook(visit.id)\">Créer un Book</a>\n        </accordion-heading>\n\n        <p class=\"nbrObjects\">{{visit.count}} objets</p>\n\n        <ul ng:model=\"slides\" class=\"list-unstyled list-inline gallery container-fluid\">\n            \n            <li class=\"item\" ng-class=\"{\'no-img\': !slide.details.images[0]}\" ng-repeat=\"slide in visit.slides\">\n                <ng-include src=\"\'books/galleryItem.html\'\"></ng-include>\n            </li>\n        </ul>\n\n      \n    </accordion-group>\n    \n</accordion>\n\n<a class=\"btn btn-default\" ng-click=\"addBook()\"><span class=\"glyphicon glyphicon-plus\"></span></a>");}]);