I have the following code structure:
chart-item is a directive that gets passed an array (item.colors), inside the directive is another sub directive that displays a dialog for each chart-item when user clicks on the chart.
issue is dupes error on the colors array.. i've tried 'track by $id(colors.label) and track by $index but still get the dupes error, there can be 'n' rows with 'n' charts on each row.
any suggestions on how to get rid of the dups errors?
Thanks in advance