My question is best explained with a layout of my template.
<body>
<my-directive option1="myVar"></my-directive>
<ui-view></ui-view>
</body>
As you can see I have a ui-view that will switch views/controllers with different state. The issue is that only one of those states contains the necessary and logical configuration variables within its scope for 'my-directive'. How can I pass those variables to the directive? I am trying to avoid using $rootScope for this, but it currently seems to me like the best choice.