angular-carousel
angular-carousel copied to clipboard
Error: scope.$eval(...) is undefined
Error: scope.$eval(...) is undefined .compile/<@...bower_components/angular-carousel/dist/angular-carousel.js:456:61
If you remove scope.$eval the error is done.
Same Error. While building i have given in bower.json
"overrides": {
"angular-carousel": {
"main": [
"dist/angular-carousel.min.js",
"dist/angular-carousel.min.css"
]
}
}
rn-carousel
only is working other directives are not working.
I had the same issues and it happened because my (async) model was not loaded yet.
Adding a ng-if="MYMODEL.length > 0" on the ng-carousel div solved the problem.