reflections.html contains a slide box and using a url like /reflections/1 I would like to directly navigate to that slide on that view.
I’ve tried adding
// for some reason doing app.reflections.detail doesn't work at all
.state('app.reflectionsdetail', {
url: "/reflections/work/:page",
views: {
'menuContent' :{
templateUrl: "views/reflections/work.html",
controller: 'SlideController'
}
}
})
Turns out the view wasn’t rendered yet and adding a timeout helped fix the issue.
A bit of a bummer that the first slide is shown before moving on to the desired one. If someone has a solution for this that would be wonderful!
That doesn’t really work for me since I want to be able to go to a slide from a completely different page.
Ex: I’m on the landing page, and in the slide menu I click on a item that would take me to reflections/work/1 which would then go to that slide.
The way I did it works ok, it’s just that we see slide 0 for a split second before sliding to a different slide, would be great if it could somehow slide in the background.