Controller $ionicScroll can't be found!


#1

Im running my project on chrome right now (1.0.0-beta.11), and when I add the infinitescroll directive to my project it display this error message:

Error: [$compile:ctreq] Controller ‘$ionicScroll’, required by directive ‘ionInfiniteScroll’, can’t be found!

The Pull to refresh work fine,
this is my tab html:

<ion-content>
	<ion-refresher
		on-refresh="doRefresh()">
	</ion-refresher>
	<ion-list>
		<ion-item collection-repeat="c in items"
			collection-item-height="320"
			collection-item-width="'100%'"
			class="cartao blue">
			<p class="seg">{{c.texto}}</p>
		</ion-item>
	</ion-list>
	<ion-infinite-scroll
		on-infinite="loadMore()"
		distance="10%">
	</ion-infinite-scroll>
</ion-content>

Any idea whats going on? Does it have anything to do with the update?


#2

I see the same problem with pullToRefresh (and ofcourse infiniteScroll too). The problem in my case is because of overflow-scroll=“true”, which I have. But I cannot giveup overflow scroll because the touch events are lost in Android with the default scroll

Same/similar problem