I have whole table created in a Html but I want to implement the functionality where if I click on a text I need to replicate the same table (Html) code in my application.
My HTML:
<th class="bx--table-header bx--table-sort" data-event="sort" ng-click="vm.addTowerTable()">
<a class="text-decoration-none"><i class="fa fa-plus-circle" aria-hidden="true" style="padding-right:10px;"></i>Add Tower</a>
</th>
I have a ADD TOWER as my text when I click on it I need to add a whole table... How can I implement it using angularjs?