tabSlideBox.js plugin issue!

I am using this https://github.com/saravmajestic/ionic/tree/master/tabbedSlideBox

Its perfect… only the issue is specifying current active slide doesn’t work.

It says to use attribute tab=“2” to keep that slide active by default. This works on browsers.
but in devices it doesn’t.

It works on devices only when that state/view is reloaded . so is thr any workaround ?

change this line initialIndex = Math.floor(icons.length/2); to initialIndex = 0; in the js file