Pause / resume user click at element (Angular) [closed]

Ill try to put it as simple as possible:

  1. User click at element inside of div.
  2. It triggers routing, replacing the content of a div with the same content, but routed.
  3. I want the “click” action be re-executed after routing happens, at the same element that was clicked

What is the best way to do it?