I have a directive that in the link function will change the image thumbnail based on when the has a change made to it. I have 2 instances of this directive on the same page. One belonging to each controller, the main controller and the edit controller. When I try to change the image belonging to the directive instance in the edit state (child of main), the change is made to the 1st instance of the directive in the main state and not the 2nd. Any help would be appreciated.I have a directive that in the link function wi