Navigation Issue in Side Menu Starter Project

I am using the latest version of Ionic (v1.0.1) to create a sidemenu starter project. Unfortunately I found an annoying issue in this “standard” template.

  • Create a sidemenu starter project

    $ ionic start myApp sidemenu

    If you don’t want to do this, here is a plunker version of sidemenu seed project. Issue is also actual here.

  • Run this project. You will see Playlists page by default. Please don’t do anything… just open side menu by swiping.

  • Tap on Playlists from side menu. (I know Playlists was opened already) Side menu disappears and Playlists page will appear again.

  • Tap on any item, for example, Dubstep.

  • You will be redirected to single playlist page. But you won’t see Back button in navigation bar, as if navigation history was cleared. In this case, Back button should appear because new page is pushed to navigation stack.

Navigation system and back button works well when Playlists page is opened only once via side menu. Issue happens when you access this page twice. (continuously)

I cannot actually believe this standard / well-known seed project includes such a stupid issue. And it’s actually killing me.

Anyone who loves Ionic, please help me.

FYI: I don’t see this issue in older versions of Ionic. (v1.0.0-beta.14)

I have the same issue, and just startet a new project from scratch based on the ionic-starter-sidemen project on github. The issue is still present. I´ll try to downgrade ionic.

Downgrading to ionic 1.0.0 and using ui-sref=“state” instead of href=“url” fixes this issue

I raised this issue on Ionic issues page from GitHub too. There goes several answers.

See also: bug: Back button missing sometimes - works with "ionic": "v1.0.0-rc.3" · Issue #4132 · ionic-team/ionic-framework · GitHub

See: Plunker - This is a side menu ionic framework starter template.

And: Fixed the 'href' and related issues by Robinyo · Pull Request #11 · ionic-team/ionic-starter-sidemenu · GitHub