Suggestion - Attributes to manipulate ionic history

Quite often I create transition functions like:

  $scope.toNewState = function() {
      historyRoot: true


This is a pretty obsolete function, a better approach I could think of would be:

<button ui-sref="myNewState" history-root="true></button>
1 Like

You can always create a directive by yourself.

Yeah, know,

That’s a mere suggestion to make it part of Ionic