I have this:
$route.reload();
I would need to fire something just before template is rendered again, for example:
$("#someTab").click();
Thanks.
I have this:
$route.reload();
I would need to fire something just before template is rendered again, for example:
$("#someTab").click();
Thanks.
If you need to run a jQuery code, you need to use $timeout for your code works correctly:
$timeout(function() {
$("#someTab").click();
});
Of course, you need to inject the $timeout service.