Thank you Ward fort the reply. if you look at the latest plunker updated by you, will see that the order of the filtering, even if seem's right, it's not.... basically it's starting with the Size, and not with Benefits. The rest of filtering is done right.
my example it's more complicated, and has tabs in which you show the active tab, with the values inside the table. so every tab is (benefits, size, application and selection and diversity profile), when you click one of them, the table must also change, and be filtered. Sorry but all this are to difficult to replicate in plunker :( Even if I still have problems, I must thank you all for the answers, because I have grasped two concepts on how to use the ng-init to shorten the code on ng-repeat ... and also better, on how to pass all the logic on the controller from you Ward. The project could be kept dummy simple if not for the alphabetical default sorting problem. p.s. As you have guessed, I'm new to angular, and have a php bg. I like it, and soon in the future I will do a invoice project for a friend based on php-api -> json -> angular ... the big problems that I see will be on angular, or maybe not, if in the meantime I will get more knowledge. > Cheers, > > Ward > > p.s.: your plunker revisited in this manner: > http://plnkr.co/edit/dFrBtImgSVReCvdtiwY6?p=preview > -- 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 http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
