delegate-handle でスクロールしたいものに名前をつけ、
$ionicScrollDelegate.$getByHandle() で指定してやればいけます。
https://nashimelon.gitbooks.io/ionic-book/content/service/$ionicScrollDelegate/index.html
サンプルをそのまま引用します。
html
1<body ng-controller="MainCtrl">
2 <ion-content delegate-handle="mainScroll">
3 <button ng-click="scrollMainToTop()">
4 Scroll content to top!
5 </button>
6 <ion-scroll delegate-handle="small" style="height: 100px;">
7 <button ng-click="scrollSmallToTop()">
8 Scroll small area to top!
9 </button>
10 </ion-scroll>
11 </ion-content>
12</body>
javascript
1function MainCtrl($scope, $ionicScrollDelegate) {
2 $scope.scrollMainToTop = function() {
3 $ionicScrollDelegate.$getByHandle('mainScroll').scrollTop();
4 };
5 $scope.scrollSmallToTop = function() {
6 $ionicScrollDelegate.$getByHandle('small').scrollTop();
7 };
8}
9
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。