I have a list of tasks and each task has an associated address. I am putting markers on a map when the page loads so our team gets a visual representation of where the tasks should occur. We also have some extensive filtering on the page. How can I update the map markers anytime the filtered data changes?
<tr ng-repeat="detail in filteredDetails = (details|filterByStatus:page.statusFilter|filterDetailByDate:page.dateFilterFrom+'.'+page.dateFilterThrough|filter:{ColorStatus: page.colorFilter}|filter:{MilestoneIdTaskId: page.milestoneTaskFilter}|filter:{CustomerId: page.storeFilter}|filter:{RepId: page.techFilter}|filter:page.detailFilter)">
</tr>
Basically, anytime the filters execute and the table data is refreshed I want to call my code that puts the markers on the map and pass in the filteredDetails as the parameter.