Angular filter works but causes “10 $digest iterations reached”

前端 未结 7 1382
走了就别回头了
走了就别回头了 2020-11-30 00:56

I receive data from my back end server structured like this:

{
  name : \"Mc Feast\",
  owner :  \"Mc Donalds\"
}, 
{
  name : \"Royale with cheese\",
  owne         


        
7条回答
  •  抹茶落季
    2020-11-30 01:58

    Pardon the brevity, but try ng-init="thing = (array | fn:arg)" and use thing in your ng-repeat. Works for me but this is a broad issue.

提交回复
热议问题