For that, I’m injecting a $scope.title in my view. this title contains a list with both my links that will make the slidebox in my content, well… slide.
A codepen is worth a thousand words :
As you can see, the title is injected and my list is styled, but clicking on them (which is bind with the slideTo() function on ng-click) doesn’t work. What am I doing wrong? How would you do it?
With the new nightly builds you can use ion-nav-title to place html in the title. I messed around with your codepen and got it to work using ion-nav-title.
I believe the Ionic team removed the new slidebox from beta 14, which is most likely what broke the codepen. The links in the navbar should still work but the calls to the ionSlideBox are different. If you need the slidebox working I can take a look at it later on.
To disable the animation or change it you can do a few different things:
If you want to disable it on a link or change the platform use the nav-transition
<a nav-transition="none" href="#/home">Home</a>
If you want to change the direction you can use nav-direction
<a nav-direction="forward" href="#/home">Home</a>
You can also disable the animation before transitioning to the view