angular-bootstrap-lightbox
angular-bootstrap-lightbox copied to clipboard
Mark as template
In order to properly load lightbox.html it was necessary to us, to wrap the markup in
<script type="text/ng-template" id="lightbox.html">
/* Content of lightbox.html goes here */
</script>
Maybe you can add those lines on your own :)
This should not be necessary because the template is stored in the $templateCache, so Angular knows what lightbox.html is. Can you provide more details about your usage?
Sorry, not a priority in our project. I'll read about $templateCache on the docs. We need a dedicated html file (for server side processing), so putting everything into the JavaScript file smells …
And in the docs, they have assigned an id as well ;-)
I actually had a typo and all is good now. Thanks!
Chris
On Jan 12, 2016, at 12:39 PM, André Jaenisch [email protected] wrote:
Sorry, not a priority in our project. I'll read about $templateCache on the docs. We need a dedicated html file (for server side processing), so putting everything into the JavaScript file smells …
And in the docs, they have assigned an id as well ;-)
— Reply to this email directly or view it on GitHub.