Is there a way to activate an event once the state has been modified in ui.router? Specifically, I am utilizing the ionic framework alongside angularJS which incorporates angular-ui-router.
Note: Below is the pseudo code I am hoping to implement.
$state.go('app.list').then(function(){ DO SOMETHING });
This functionality should not be tied to any specific state. It should be applicable to all states within the application.