Hello,
as a newbee i like to remove an item from a multidimensional array i got
from my database via rails and json.
Here my view
%table{:class => 'ui table'}
%tr{:'ng-repeat' => "ergebnis in ergebnisse | filter: name"}
%td
<input type="checkbox" checklist-value="ergebnis.id" checklist-model
="user.checkek">
Order-Nr.: {{ergebnis.id}}
%td
KdNr.: {{ergebnis.kdnr}}
%td
{{ergebnis.name}}
%td
{{ergebnis.text}}
%td
{{ergebnis.preis | dtcurrency}}
%td
<a href="/orders/{{ergebnis.id}}/edit">edit</a>
i have an array of checked checkboxes in user.checkek.
Now i want to remove those values from my array represented in ergebnisse.
Means if an item in the ergebnisse-array has the same id as the number one
of the numbers in the checkek-array.
I tried with splice but with no success.
Any hints or code-snippet for me?
Thanks in advance
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.