I'm trying to use angular-bootstrap-lightbox , and i need to inject Lightbox provider into directive like so
controller: ['Lightbox' , function ($scope, $rootScope, $filter, FileUploader,Lightbox) {
but this is lead to the following error :
Error: [$injector:unpr] Unknown provider: $uibModalProvider <- $uibModal <- Lightbox <- Lightbox
any body can help to resolve this , Thanks in advance .
Version issue with ui-boostrap. Need to upgrade ui-bootstrap to be 0.14x or above. See this github issue as well
If you are unable to upgrade angular-bootstrap past 0.12.0, make sure that your angular-dialog-service is at version 5.2.6 exactly (no ~s or ^s preceding it!). Downgrading angular-dialog-service solved this issue for us.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With