We had a situation where we had multiple inline editors on screen. This resulted in a problem because some unique ID's were created in the same millisecond so they were not unique.
I solved this by creating a small service that creates the unique ID's by using a counter. Because the service is a singleton this will ensure a unique ID even when using multiple directives at the same time.
We had a situation where we had multiple inline editors on screen. This resulted in a problem because some unique ID's were created in the same millisecond so they were not unique. I solved this by creating a small service that creates the unique ID's by using a counter. Because the service is a singleton this will ensure a unique ID even when using multiple directives at the same time.
Cheers, Roel Plieger.