I have a directive that contains in his controller a watcher like:
$rootScope.$on('broad1', (event, args) => {
doSomething()
});
Then, I reload (with $state.go) a part of my page that contains my directive. And unfortunately, even if my directive is reinit and of course, not duplicated, a new watcher is created and added in my rootscope. ( I already know that when watcher are attached to rootscope, isn't destroyed whereas the directive is removed from DOM)
So, when I broadcast 'broad1' the watchers are executed n times (corresponding to n previous reloads). WHY?