Dynamically loaded lightGallery directive
You must have lightGallery installed.
If you want to display thumbnails, then you must install the lightGallery Thumbnail plugin also.
Please refer to lightGallery docs for further help
<photo-gallery images="vm.images"></photo-gallery>
In your controller, ensure that you populate vm.images
with your image (and thumbnail) sources.