Set slide box slide index from another view


#1

Hi, I have the following two views. I would like to choose a slide of the slidebox in View2 from an item in the list from View 1. But it does not work despite it works fine if I put the the list and the slidebox in a same View. Any suggestions to solve the problem? Many thanks.

View 1:

<ion-view>
<ion-content class="padding">
  <div class="list card">
  <div class="item item-divider">Current Actions ({{actions.length}})</div>
  <a class="item" ng-click="setSlideIdx(idx)" ng-repeat="(idx, action) in actions" href="link-to-View-2">
    {{action.title}}
  </a>
</div>
</ion-content>
</ion-view>

View2:

<ion-view>
<ion-content class="padding">
<ion-slide-box active-slide="slideIdx" does-continue="true" show-pager="false">
<ion-slide ng-repeat="(idx, action) in actions">
<div>
  <h4>{{action.title}}</h4>
  <p>{{action.description}}</p>
</div>
</ion-slide>
</ion-slide-box>
</ion-content>
</ion-view>