$state.transitionTo を使用しない限り $stateChangeSuccess が起動しないという私の結論は正しいですか? 例えば:
//in app config
.state('detail.zoom', {
url: '/zoom/{itemId}',
templateUrl: 'detail/zoom-partial.html'
})
//in html
<a href="#/zoom/{{item.id}}" >ZOOM IT!</a>
//in directive
scope.$state.transitionTo('detail.zoom', { itemId: item.id});
//in some controller
$scope.$on('$stateChangeSuccess', function () {alert('done transitioning!')});
transitionTo からのイベントは $stateChangeSuccess をトリガーしますが、href バージョンの場合はそうではありません。両方の種類のトランジションでイベントを均等に発生させる方法はありますか?