Hi Team,
I have a Table Angular component. Now i am instantiating that component 
multiple times using same template something like below:
Assume i have created 7 tables out of this template , how can i maintain 
different unique id for each table.

Because when i try to do document.getElementByID('unique') , it always 
gives me first table because ID of all tables tags are same on DOM.
<table *ngIf="settings" class="table" id="unique" value="1"

-- 
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/6dd828ba-f694-460d-bca9-69030d9aafbc%40googlegroups.com.

Reply via email to