I am encountering an issue where I need to refresh the route using the following code:
$route.reload();
However, I also need to trigger a function just before the template is rendered again. For instance:
$("#someTab").click();
Your help would be greatly appreciated.