Reputation: 257
https://github.com/sroze/ngInfiniteScroll
Okay, so I've loaded the ng-infinite-scroll.min.js
When I load the module, that breaks it
angular.module('myApp', ['infinite-scroll']);
It tells me some controller is now undefined. Error: [ng:areq] http://errors.angularjs.org/1.2.25/ng/areq?p0=UserbarController&p1=not%20a%20function%2C%20got%20undefined
Upvotes: 0
Views: 285
Reputation: 1
Check your html. Somewhere in your html there's an ng-controller="your_controller" directive and you don't have that controller defined in your javascript files our script tags.
Upvotes: 0