angula generate ids code example Example: get unique id angular getUniqueId(index) { return this.filterData.subFilter[index].id + index; }