Within my controller, there is a repeater where each item has its own unique status:
<div ng-controller="...">
<div ng-repeat"...">{{status}}</div>
</div>
Currently, changing the status within the repeater by using status = 'foo'
works perfectly. However, I need to change this status from the controller in order to incorporate ajax calls and other functionalities. Despite my efforts to search online and consult with Google, I have been unable to find any information on accessing the scope of an individual repeated item.
This fiddle demonstrates the issue. When you click one of the buttons, it changes the status of the entire scope to clicked
. My goal is to only change the color of the circle next to the button to blue without adding another value to the list for specific reasons.