I am trying to create array like this:
vm.finished_tasks = [];
inside foreach:
(value.finished === 1) ? vm.finished_tasks[item.id].push(value) : '';
There are 2 foreach loop item is from main loop, value is from loop inside...
I want to be able to access from tamlate something like this:
{{ vm.finished_tasks[1] }}
vm.finished_tasks.push(value)