First, I click search and set scope value and angular automatically repeat the result in <tr> tag and pup up modal to display. Everything show in the table properly. And then I close the result modal and set the scope to empty and I click search again when I change page in pagination, It still shows old data and new data together.
I using JpList and angularjs together.
First, I click search and set scope value and angular automatically repeat the result in
<tr>
tag and pup up modal to display. Everything show in the table properly. And then I close the result modal and set the scope to empty and I click search again when I change page in pagination, It still shows old data and new data together.How can I fix it?