$ionicHistory not working correctly

I jump from a page that is not a tab to a tab page, on the tab page,I want to goback when the item is clicked。I use $ionicHistory.goBack() to go back。
I found a strange situation, the firsttime $ionicHistory.goBack() is working, but the second time is not working。

My ionic version is : 1.3.1

I have created a codepen demo

to reproduce the bug: click Go DashPage Button -> click Select button -> click item -> click Select button -> click item

Sorry for my poor English.

Is there anyone who can help me

I think it might have something to do with you using href instead of ui-sref. This way you might screw up the UI Router history

But ionic user UI Router to manage the route。