{"action":"closed","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/4341","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/4341/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/4341/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/4341/events","html_url":"https://github.com/driftyco/ionic/issues/4341","id":105523766,"number":4341,"title":"Failed to use delegate-handle for several instances of ion-slide-box","user":{"login":"kapil019","id":8037009,"avatar_url":"https://avatars.githubusercontent.com/u/8037009?v=3","gravatar_id":"","url":"https://api.github.com/users/kapil019","html_url":"https://github.com/kapil019","followers_url":"https://api.github.com/users/kapil019/followers","following_url":"https://api.github.com/users/kapil019/following{/other_user}","gists_url":"https://api.github.com/users/kapil019/gists{/gist_id}","starred_url":"https://api.github.com/users/kapil019/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kapil019/subscriptions","organizations_url":"https://api.github.com/users/kapil019/orgs","repos_url":"https://api.github.com/users/kapil019/repos","events_url":"https://api.github.com/users/kapil019/events{/privacy}","received_events_url":"https://api.github.com/users/kapil019/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic/labels/ionitron:closed","name":"ionitron:closed","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-09T05:44:11Z","updated_at":"2015-12-22T06:41:28Z","closed_at":"2015-12-22T06:41:28Z","body":"I have 2 ion-slide-box. Everyone has 3 items.\r\n\r\nI created two buttons Next and back to simulate sliding by pressing them.\r\n\r\nHowever delegate-handle doesn't work. I get:\r\n\r\nDelegate for handle \"slider1\" could not find a corresponding element with delegate-handle=\"slider1\"! next() was not called!\r\nSounds like delegate-handle doesn't register properly the instance ids.\r\n\r\nThis is what I have so far:\r\n\r\nscope.nextSlider = function(sliderId){\r\n         $timeout(function(){\r\n             $ionicSlideBoxDelegate.$getByHandle(sliderId).next();\r\n      }, 1000);       \r\n      }\r\n\r\n       scope.prevSlider = function(sliderId){         \r\n         $timeout(function(){\r\n             $ionicSlideBoxDelegate.$getByHandle(sliderId).previous();\r\n      }, 1000);         \r\n      } \r\nTemplate\r\n\r\n <ion-slide-box delegate-handle=\"{{sliderId}}\" \r\n                       on-slide-changed=\"slideHasChanged(index)\" \r\n                       show-pager=\"false\">\r\n      <ion-slide ng-repeat=\"color in colors\">        \r\n             <!-- -->\r\n        </ion-slide>\r\n    </ion-slide-box>\r\n"}}