angular-bootstrap-lightbox icon indicating copy to clipboard operation
angular-bootstrap-lightbox copied to clipboard

Mark as template

Open Ryuno-Ki opened this issue 10 years ago • 3 comments

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 :)

Ryuno-Ki avatar Sep 18 '15 19:09 Ryuno-Ki

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?

compact avatar Oct 24 '15 21:10 compact

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 ;-)

Ryuno-Ki avatar Jan 12 '16 20:01 Ryuno-Ki

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.

stodolos avatar Jan 12 '16 22:01 stodolos