Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>ng-Sudoku</title>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular.js"></script>
- <script src="scripts/sudokuSolver.js"></script>
- </head>
- <body ng-app="app" ng-controller="TestController">
- <div ng-repeat="(rowIndex,row) in matrix track by $index">
- <input type="text" size="1" value="{{getMatrixVal(rowIndex, colIndex)}}"
- ng-model="inputVal"
- ng-change="updateValue(matrix, rowIndex, colIndex, inputVal)"
- ng-repeat="(colIndex,col) in row track by $index">
- </div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment