Whenever i try to use the ion-refresher directive, I get the following error thrown and the stack trace shows it’s from the bundled ionic JS file:
Error: [$compile:ctreq] Controller ‘$ionicScroll’, required by directive ‘ionRefresher’, can’t be found!
http://errors.angularjs.org/1.2.25/$compile/ctreq?p0=NaNonicScroll&p1=ionRefresher
at VALIDITY_STATE_PROPERTY (http://localhost:8100/lib/ionic/js/ionic.bundle.js:7703:12)
at getControllers (http://localhost:8100/lib/ionic/js/ionic.bundle.js:14168:19)
at nodeLinkFn (http://localhost:8100/lib/ionic/js/ionic.bundle.js:14337:35)
at compositeLinkFn (http://localhost:8100/lib/ionic/js/ionic.bundle.js:13730:13)
at nodeLinkFn (http://localhost:8100/lib/ionic/js/ionic.bundle.js:14330:24)
at compositeLinkFn (http://localhost:8100/lib/ionic/js/ionic.bundle.js:13730:13)
at publicLinkFn (http://localhost:8100/lib/ionic/js/ionic.bundle.js:13626:30)
at updateView (http://localhost:8100/lib/ionic/js/ionic.bundle.js:42989:11)
at IonicModule.directive.directive.compile (http://localhost:8100/lib/ionic/js/ionic.bundle.js:42942:9)
at nodeLinkFn (http://localhost:8100/lib/ionic/js/ionic.bundle.js:14336:13)
But on inspection of the ionic.bundle.js, the Controller is in fact present. I need help to squash this bug ASAP!