Theoretically, the new nav-clear directive should do this for you. However, it doesn’t work if you have ng-click defined.
So, I took the logic from the directive and put it in your controller.
I’ve opened issue # 1047 for this : https://github.com/driftyco/ionic/issues/1047