Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Still getting the error, the json data looks like this {"comments":{"name":"rukshi","review":"test comment","uptime":1428553143000,"gravatar":"http:\/\/www.gravatar.com\/avatar\/ca1a69438a32fd2aa60806b90a960753?s=48"},"error":{"has_error":false}} Commented Apr 9, 2015 at 4:21
  • Yes, there was another problem in the part of the code that haven't posted which sets $scope.comments to undefined, fix that and with your fix everything works fine now. Thanks Commented Apr 9, 2015 at 5:01