uuid in angular 6 code example Example: get unique id angular getUniqueId(index) { return this.filterData.subFilter[index].id + index; }