Fix #9, now it's possible to add a modal in a result template.\n Example template : <div ng-repeat=\'item in queryData.result.hits.hits\'>\r\n{{item._type}} -> {{item._id}} : <span class="glyphicon glyphicon-info-sign" ng-click="openModal(\'curiosityItemModal.html\', \'lg\', item)"><\/span>\r\n<\/div>\r\n<script type="text\/ng-template" id="curiosityItemModal.html">\r\n        <div class="modal-header">\r\n            <h3 class="modal-title">{{item._type}} -> {{item._id}}<\/h3>\r\n        <\/div>\r\n <div class="modal-body">\r\n<span>{{item._source}}<\/span>\r\n<\/div>\r\n<div class="modal-footer">\r\n            <button class="btn btn-primary" ng-click="close()">OK<\/button>\r\n        <\/div>\r\n <\/script>\r\n<\/div>