// Hack to update the directive content on logout
// TODO think to a cleaner solution
scope.$on('$routeChangeSuccess', function () {
init();
});
scope.$on('$stateChangeSuccess', function () {
init();
});
completely breaks my application as it causes all of the $broadcast events to refire.
This most recent change in the directive...
completely breaks my application as it causes all of the $broadcast events to refire.