You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for putting this repo up, it's exactly what I was looking for! I've run into one issue though, I've added lightboxes on two different views and I'd like to specify two different templates. I've added
angular.module('app').config(function(LightboxProvider){// set a custom templateLightboxProvider.templateUrl='path/to/your-template.html';});
in my two respective controllers with the appropriate paths to the two different lightbox template.html views, but both lightboxes are pulling from the same custom template? Any thoughts?
Any help is much appreciated. The biggest problem is that for some reason, while it's pulling the custom lightbox template from 'views/lightbox.html', it's not pulling the window resizer function LightboxProvider.calculateModalDimensions which is really unfortunate.
Thanks
The text was updated successfully, but these errors were encountered:
Thanks for putting this repo up, it's exactly what I was looking for! I've run into one issue though, I've added lightboxes on two different views and I'd like to specify two different templates. I've added
in my two respective controllers with the appropriate paths to the two different lightbox
template.html
views, but both lightboxes are pulling from the same custom template? Any thoughts?Here's a link to my issue branch timeline-modal-view
Any help is much appreciated. The biggest problem is that for some reason, while it's pulling the custom lightbox template from
'views/lightbox.html'
, it's not pulling the window resizer functionLightboxProvider.calculateModalDimensions
which is really unfortunate.Thanks
The text was updated successfully, but these errors were encountered: