when i update to the newest version, i encountered:
Controller '$ionicScroll', required by directive 'ionRefresher', can't be found!
Failed to execute 'appendChild' on 'Node': This node type does not support this method.
I using Android 4.2.2 ,Hope that people can help me tackle them. Thanks
tks @andy my code:
</ion-header-bar>
<ion-content ng-if="!status.hasRouter">
<ion-refresher on-refresh="doRefresh()"
pulling-text="Kéo xuống để cập nhật..."
refreshing-text="Cập nhật danh sách!"
refreshing-icon="ion-loading-c"
class="refresher">
</ion-refresher>
<ion-list>
<div class="list">
<ion-slide-box show-pager="false"
ng-repeat="item in lists | orderBy:'distance':false | limitTo : 8">
<ion-slide>
....
</ion-slide>
<ion-slide>
...
</ion-slide>
</ion-slide-box>
</div>
</ion-list>
</ion-content>
<ion-content ng-if="status.hasRouter" class="see-info">
<div class="list">
....
</div>
</ion-content>
</ion-side-menu>
andy
April 29, 2014, 12:01pm
4
Could you try taking the ng-if off of the ion-content and lemme know?
okey! tks @andy , but i want using ng-if!What should I do ?
Also with out ng-if is not working…
priand
August 10, 2015, 2:49pm
7
@andy : look at this code pen, which is a fork of an existing one: http://codepen.io/priand/pen/rVRJEm
It fails with the same error. If you remove ng-if at line #30 , then it works.
A workaround if to wrap the content in a div and add the directive to the div.