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=\'username\' placeholder=\"Username\">\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/{{ parentBook.id }}\">{{ parentBook.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		</accordion-heading>\n            \n		<a class=\"nbrObjects\">{{parentBook.slides.length}} objets</a>\n        <ul ui-sortable=\"sortableOptions\" ng:model=\"parentBook.slides\" class=\"list-unstyled list-inline gallery container\">\n			<li class=\"col-md-2 item\" ng-repeat=\"i in parentBook.slides\">\n	            <div class=\"img-ctn\">\n                	<img class=\"img img-responsive image\" ng-src=\"{{ i.details.images[0] }}\" />\n	                <p>{{ i.details.title }}</p>\n	\n                    <div class=\"gallery-buttons\">\n						<a class=\"btn btn-default\" href=\"#/slide/{{ i.id }}\"><span class=\"glyphicon glyphicon-pencil\"></span></a>\n						<a class=\"btn btn-default\" ng-click=\"toggleFavorite($index)\"><span ng-class=\"{\'glyphicon-star\': i.favorite, \'glyphicon-star-empty\': !i.favorite}\" class=\"glyphicon\"></span></a>\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=\"deleteItem($index)\"><span class=\"glyphicon glyphicon-trash\"></span></a>\n					</div>\n				</div>\n			</li>\n		</ul>\n\n		<div class=\"book in books | filter:{ id: parentBook.parent_visit }:true\">\n			{{book.title}}\n		</div>\n	</accordion-group>\n</accordion>\n");
$templateCache.put("books/books.html","\n\n<accordion close-others=\"false\">\n	<accordion-group ng-repeat=\"parentBook 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/{{ parentBook.id }}\">{{ parentBook.title }}</a>\n			<a class=\"pull-right\" ng-click=\"$event.preventDefault(); $event.stopPropagation(); addBook(parentBook.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/{{ parentBook.id }}\"><span class=\"glyphicon glyphicon-eye-open\"></span></a>\n			<a class=\"pull-right\" ng-click=\"$event.preventDefault(); $event.stopPropagation(); addBook(parentBook.id)\">Nouveau Book</a>\n		\n        </accordion-heading>\n\n        <a class=\"nbrObjects\">{{parentBook.slides.length}} objets</a>\n        \n        <div class=\"list-books\" ng-repeat=\"childBook in books | filter:{ parent_visit: parentBook.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        <ul ng:model=\"slides\" class=\"list-unstyled list-inline gallery container\">\n				  <li class=\"col-md-2 item\" ng-repeat=\"i in parentBook.slides | limitTo : 5 \">\n				    <div class=\"img-ctn\">\n				        <img class=\"img img-responsive image\" ng-src=\"{{ i.details.images[0] }}\" />\n				        <p>{{ i.details.title }}</p>\n\n				        <div class=\"gallery-buttons\">\n				          <a class=\"btn btn-default\" href=\"#/slide/{{ i.id }}\"><span class=\"glyphicon glyphicon-pencil\"></span></a>\n				          <a class=\"btn btn-default\" ng-click=\"\"><span class=\"glyphicon glyphicon-heart\"></span></a>\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=\"deleteItem($index)\"><span class=\"glyphicon glyphicon-trash\"></span></a>\n\n				        </div>\n				    </div>\n				<!-- </li> -->\n	    </ul>\n\n			<div ng-repeat=\"book in books | filter:{ id: parentBook.parent_visit }:true\" >\n					{{book.title }}\n			</div>\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("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        <a class=\"nbrObjects\">{{parentBook.slides.length}} objets</a>\n\n        <ul ng:model=\"slides\" class=\"list-unstyled list-inline gallery container\">\n          <li class=\"col-md-2 item\" ng-repeat=\"i in parentBook.slides \"> \n            <div class=\"img-ctn\">\n                <img class=\"img img-responsive image\" ng-src=\"{{ i.details.images[0] }}\"/>\n                <p>{{ i.details.title }}</p>\n                <div class=\"gallery-buttons\">\n                 \n                  <a class=\"btn btn-default\" ng-click=\"deleteItem($index)\"><span class=\"glyphicon glyphicon-heart\"></span></a>\n                  <a class=\"btn btn-default\" ng-click=\"deleteItem($index)\"><span class=\"glyphicon glyphicon-plus\"></span></a>\n                 \n                </div>\n            </div>\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		<h4 ng-dblClick=\"doubleClick()\">{{slide.title}}</h4>\n		<p ng-dblClick=\"doubleClick()\" class=\"description\">{{slide.description}}</p>\n		<p ng-dblClick=\"doubleClick()\">{{slide.comment}}</p>\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.comment\' placeholder=\"Commentaire\"></input>\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-7 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-5 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\">\n	<div class=\"slide-title\">\n			<h1>Diaporama - {{book.title}}</h1>\n	</div>\n	<div class=\"carousel-holder row\">\n		<carousel>\n			<slide ng-repeat=\"slide in slideshow\" active=\"slide.active\">\n				<div class=\"container slide-content\">\n					<div class=\"col-md-7 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-md-5 caption\">\n						<div class=\"user-details\">\n							<h4>{{slide.title}}</h4>\n							<p>{{slide.description}}</p>\n							<p>{{slide.comment}}</p>\n							<p>\n								<em>{{slide.tags.join(\', \')}}</em>\n							</p>\n						</div>\n						<hr />\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.captionImg}}</small>\n							</p>\n						</div>\n					</div>\n				</div>\n			</slide> \n		</carousel>\n		<ul class=\"list-unstyled list-inline row insight\" >\n			<li class=\"col-md-2 item\" ng-repeat=\"slide in slideshow\">\n				<div class=\"img-ctn\" ng-click=\"showSlide($index)\">\n				    <img class=\"img img-responsive image\" ng-src=\"{{ slide.details.images[0] }}\" />\n				    <p>{{ slide.details.title }}</p>\n				</div>\n			</li>\n		</ul>\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/{{ parentBook.id }}\">{{ parentBook.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		<a class=\"nbrObjects\">{{parentBook.slides.length}} objets</a>\n		\n		<ul ui-sortable=\"sortableOptions\" ng:model=\"slides\" class=\"list-unstyled list-inline gallery container\">\n			<li class=\"col-md-2 item\" ng-repeat=\"i in slides\">\n				<div class=\"img-ctn\">\n					<img class=\"img img-responsive image\" ng-src=\"{{ i.details.images[0] }}\" />\n					<p>{{ i.details.title }}</p>\n					<div class=\"gallery-buttons\">\n						<a class=\"btn btn-default\" href=\"#/slide/{{ i.id }}\"><span class=\"glyphicon glyphicon-heart\"></span></a>\n						<a class=\"btn btn-default\" ng-click=\"toggleModal($index)\"><span class=\"glyphicon glyphicon-plus\"></span></a>\n					</div>\n				</div>\n			</li>\n		</ul>\n	</accordion-group>\n</accordion>\n");
$templateCache.put("visites/visites.html","<accordion close-others=\"false\">\n	<accordion-group ng-repeat=\"parentBook 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/{{ parentBook.id }}\">{{ parentBook.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/{{ 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        <a class=\"nbrObjects\">{{parentBook.slides.length}} objets</a>\n\n        <ul ng:model=\"slides\" class=\"list-unstyled list-inline gallery container\">\n				  <li class=\"col-md-2 item\" ng-repeat=\"i in parentBook.slides | limitTo : 5\"> \n				    <div class=\"img-ctn\">\n				        <img class=\"img img-responsive image\" ng-src=\"{{ i.details.images[0] }}\"/>\n				        <p>{{ i.details.title }}</p>\n				        <div class=\"gallery-buttons\">\n				         \n				          <a class=\"btn btn-default\" ng-click=\"\"><span class=\"glyphicon glyphicon-heart\"></span></a>\n				          <a class=\"btn btn-default\" ng-click=\"toggleModal($index)\"><span class=\"glyphicon glyphicon-plus\"></span></a>\n				         \n				        </div>\n				    </div>\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>");}]);