Creating unique IDs in angular way