Angular.js view doesn't update when nested $scope array is updated

后端 未结 4 1613
借酒劲吻你
借酒劲吻你 2020-12-16 16:31

I am trying to make an angular.js view update itself when adding a comment. My code is as follows:

4条回答
  •  不思量自难忘°
    2020-12-16 17:29

    Use $scope.$parent.arrayObjet to modify the parent variables instead of $scope.arryaObject. It worked in my case.

提交回复
热议问题