Let me put it otherwise:
his code:

document.querySelectorAll('table').forEach((elm,i) =>  elm.setAttribute('id'
,'imnumber'+i)

will set a unique id on every table. I don't think that will solve your 
issue. You probably need to set it to something that conveys's meaning to 
the table. I think you need to split out your tables into components of 
their own that contain the functionality you are now trying to bolt on.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/1f4dd49d-10fa-499b-9e99-c164e43904ad%40googlegroups.com.

Reply via email to