Oops. Sorry I didn’t notice that.
Here is a working version. It’s a bit of a hack.
It’s using ng-if
to definitively remove the subheader from the DOM on the other views. ng-show
does not work because Ionic still detects the presence of the header.
This should probably work a bit better though. Ionic could be changed to detect if the subheader is actually visible though.
You might want to open an issue on this.