I need to update data in my ng table. The following images contain a full use scenario.
When the user clicks on the BrandID search, a new modal window appears: 
It contains an ng table with some loaded data. After rejecting the modality, I click on the second search (GroupID), here the same modal window opens with an ng table, but even if the request is ok and the data is returned from the server, the download does not work: 
I would like to be able to update the table to initialize it with new data.
The script in Plunker is called every time the modal switches.
Susy11
source share