using ng-model within nested ng-repeat directives
问题 I'm trying to use ng-model "within" a ng-repeat directive that is itself nested in a ng-repeat directive. The following jsfiddle demonstrates my problem and my two attempts to solve it. http://jsfiddle.net/rskLy/4/ My Controller is defined as follows: var mod = angular.module('TestApp', []); mod.controller('TestCtrl', function ($scope) { var machine = {}; machine.noteMatrix = [ [false, false, false], [false, true, false], [false, false, false] ]; $scope.machine = machine; // ... }); 1. <table