Ionic likes to keep views that you’ve passed through on your way through a flow as hidden elements on the page. I can still see all the ng-components (or whatever the selector for the ionic page was) in the DOM. The problem with this is if you revisit a page during a flow. I have a flow that goes A > B > C > D > C > D. See the circular structure at the end? I don’t want to POP the nav back to this page, as it receives a new model and operates on new objects. But the problem is, earlier versions of the page are still in the DOM which causes all the form element name attributes and IDs to duplicate and radio buttons and the like stop working properly.
What should I do about this?