I recently started working with Angular and encountered an issue while incorporating Angular Charts JS. I have a list that can be filtered using search text, and I want my charts to update whenever the list is filtered.
What would be the best approach to solve this problem? I've attempted to monitor changes in the result (stored in filteredresult) of the list, but I haven't been successful so far.
<li ng-repeat="item in filteredresult = (result | filter:searchText)>