Angular ng-repeat Error “Duplicates in a repeater are not allowed.”

后端 未结 10 2583
青春惊慌失措
青春惊慌失措 2020-11-22 06:11

I am defining a custom filter like so:

10条回答
  •  忘了有多久
    2020-11-22 06:47

    For those who expect JSON and still getting the same error, make sure that you parse your data:

    $scope.customers = JSON.parse(data)
    

提交回复
热议问题