I have the following array in my controller that gets objects from the database:
this.objects = [ //data of array goes here ];
Then I have an html table:
<tbody ng-repeat="object in object.recipients>
<tr>
<td>{{object.attribute.content}}</td>
</tr>
</tbody>
The table is displayed correctly. And I have a delete button that removes objects from the database. But in order to see the changes on my table, I need to refresh the page. How can I have my table updated without refreshing?