ng-table not working for dynamic data

后端 未结 6 1909
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-03 23:53

I have created a table and I am using http to load the data in the tables. So, in every click, my table data is changing, but I don\'t see the updated data in the table. I h

6条回答
  •  时光说笑
    2020-12-04 00:49

    I'm not sure about the exact cause of the incorrect incrementing, but the problem here may be more due to the approach. You should attach the count to the scope via $scope.count, and then use the ng-click directive to increment it:

提交回复
热议问题