Advice on creating a matrix table in angular JS
问题 Below is my JSON object(partial) which I would like to show as a matrix table preferably using ng-repeat: [ { "product": "milk", "resource": "a", "checked": true }, { "product": "bread", "resource": "a", "checked": false }, { "product": "butter", "resource": "a", "checked": true } ] I have tried http://plnkr.co/edit/iW1dZV?p=info but I don't want to use coffeescript. 回答1: @forgottofly here is an example of better json for what you need: [{ "resource": "a", products: [{ "product": "milk",