angularjs - angular ng-repeat isolated scope -
I have a button on the repeating item, which is clicked, the URL should be changed and the current item's The situation needs to be changed. The button which was clicked. I have a Yuri-CRF that is connected to this button and there is a custom instruction on the ng-repeating element whcih to make an opportunity for the current item on which the button was clicked. This code is ...
& lt; Div open-prices open = "ui-sref" data-ng-repeat = "talk in things" & gt;
The code for the button is ...
& lt; A ui-sref = ". Price ({priceId: price._id})" type = "button" & gt; Click & lt; / A & gt;
The code for the custom command is
app.directive ('openprises', [function ()) {return (restricted: A ', link: function postlink (area, element, etter) {}, area: {open:' = '}};}]);
My problem occurs when the button is clicked, the status of all repeat items varies, but I want the status of the current item whose button is clicked to change the state
Comments
Post a Comment