切换路由没有触发打印111
Have you registered $rootScope?
$inject = ['$rootScope'
Try to put run after config, I also wrote it like this, you can monitor it
Have you registered $rootScope?
$inject = ['$rootScope'
Try to put run after config, I also wrote it like this, you can monitor it