I develop an application with AngularJS, when I add a new element called a POLCOM, the list of POLCOM remains the same without the new item. this problem appears only in IE11 in chrome no problem.
this is my service:
listPOLCOM : function(succes,error) {
return $http.get('/polcom').then(succes,error);
}
this my controller:
servicePolcom.listPOLCOM(
function successCallback(response) {
$scope.listPolcom = response.data;
}, function errorCallback(response) {
alert("error");
});
this is my HTML:
<tr data-ng-repeat="polcom in listPolcom">
<td>{{ polcom.libelle }}</td>
<td>{{ polcom.startDate }}</td>
<td>{{ polcom.endDate }}</td>
</tr>