0

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

UX Guy
  • 257
  • 2
  • 12

1 Answers1

0

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.