I have a sample HTML like this where each div represent tons of html code. I need to attach a piece of html code to a controller which is already attached to one div. Both the first and last div represent the same business functionality and are tightly coupled and hence I cannot use services to share the state. I am looking for a solution other than using angular or ui routing.
<div ng-controller='newController'>
<label>{{greeting}}</label>
</div>
<div>
<!-- Another Big HTML element -->
</div>
<div>
<!-- This is some popup dialog code which should be attached to the scope of newController -->
<label>{{greeting}}</label>
</div>