I'm currently developing a project in Angular.js involving a plane view where various objects are located. Every time a user drags an item from the left menu bar to the center of the screen, a new object is created.
The unique CSS class for each item follows this structure:
#drag-item-0
#drag-item-1
#drag-item-2
and so on.
Therefore, creating a new object results in a new CSS selector being generated. I am unsure how to assign different CSS styles to each object due to this. Any guidance or assistance would be greatly appreciated. Thank you!