title: Ionic 5 angular back navigation
body: <p>I have an app in Ionic 5 using Angular in which I need to programmatically navigate from the current page to the previous page. I tried using: </p>
  
  <pre><code>this._location.back();
  </code></pre>
  
  <p>and it works but doesn't triggers the back navigation animation like when you navigate with <code>&lt;ion-back-button&gt;</code>, it just switches pages. So the question is how can you programmatically navigate back on an Ionic 5 app with Angular, in a way similar to what <code>&lt;ion-back-button&gt;</code> does?</p>