I have an error in this line of my code, but the code fulfills its mission. I do not understand what can happen. I am very new with angular
<md-list-item ng-show="cargando == false" ng-repeat="idea in ideas2 = (ideas | orderBy : '-Created' | filter: filterData | filter:buscaAprobadas)" ng-class="md-1-line && { evaluada: idea.Estado !='Aprobada'} " ng-click="idea.Estado != 'Aprobada' || idea.selected = !idea.selected">
Your last comparison: idea.selected = !idea.selected
is an assignment. You want to change it to idea.selected == !idea.selected
or something similar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With