[AngularJS] Re: Update array element in filtered view

2014-04-26 Thread Brian McElhany
Ok, I think I've got this squared away...posting here in case it might help someone else. Sander's recommendation to wrap the call to my controllers changeCategory() method in a "scope.$apply()" definitely needed to be done. However, even though I could see that my controller's method was being

[AngularJS] Re: Update array element in filtered view

2014-04-25 Thread Sander Elias
Hi Brian, You are changing things outside angular. You have to tell angular to update it's stuff. You do that with an scope.$apply have a look: http://jsbin.com/qohunubi/1/edit Here is an article that explains it a bit more: http://jimhoskins.com/2012/12/17/angularjs-and-apply.html Regards San