0
avanekar02 created
has anybody used infinite-scroll in their project i installed it but get an unpr injector error
appModule.controller('tenant.views.catalog.index', [
'$scope', '$uibModal',,'infinite-scroll',
function ($scope, $uibModal,$http) {
var vm = this;
i downloaded the ng-infinite-scroll.min.js in the common folder under web common scripts
error i get is below
angular.js:13642 Error: [$injector:unpr] <a class="postlink" href="http://errors.angularjs.org/1.5.6/$injector/unpr?p0=ng-infinite-scrollProvider%20%3C-%20ng-infinite-scroll%20%3C-%20tenant.views.catalog.index">http://errors.angularjs.org/1.5.6/$inje ... alog.index</a>
1 Answer(s)
-
0
Have you added infinite-scroll module to your module dependencies (to here: <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/blob/dev/src/MyCompanyName.AbpZeroTemplate.Web/App/app.js#L2">https://github.com/aspnetzero/aspnet-ze ... /app.js#L2</a>)