Is it correct that angular does not create an isolate scope for a element that has two directives on it where the highest priority directive does not have an isolate scope and the lower priority directive does?
I have the following plunker that has 2 directives and a controller:
http://plnkr.co/edit/zEnMH6h0ILURHSgx0DLX?p=preview
If you open up the console, you can see the logs of the scopes of the directives and controller. The noIsoScope directive does not have a isolate scope and has a priority of 1. The isoScope scope directive has an isolate scope but a priority of 0. When I use each directive independently, everything works as excepted. When I use both of them together, the isoScope directive shows that is it using the controller scope (since based on the logs, it has the same $id) instead of its own.
Do I have to make sure that whenever I am using multiple directive on an element, if one of them has an isolate scope, that it has to have the highest priority?