Bootstrap 3 + AngularJS - Modal example
HTML
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<div ng-controller="MainCtrl" class="container">
<div>
<table class="table table-hover table-striped table-bordered">
<tbody>
<tr ng-repeat="parameter in parameter_list">
<th class="text-left">
{{parameter.title | uppercase}}
</th>
<td class="text-left">
<div class="form-group">
<input type="text" ng-model="parameter_list[$index].value" class="form-control">
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
JavaScript
var mymodal = angular.module('mymodal', []);
mymodal.controller('MainCtrl', function ($scope) {
$scope.parameter_list = [
{
"title": "name",
"value": "Product3"
},
{
"title": "version",
"value": "01.00.00"
},
{
"title": "inventory_name",
"value": "Product3"
},
{
"title": "inventory_version",
"value": "01.00.00"
},
{
"title": "differed",
"value": "true"
},
{
"title": "differed_name",
"value": "whatever"
},
{
"title": "accept_error_while_reboot",
"value": "false"
},
{
"title": "setup",
"value": ""
},
{
"title": "ggg",
"value": "setup.exe"
},
{
"title": "fx",
"value": "test"
},
{
"title": "gx",
"value": "setup.exe"
},
{
"title": "tx",
"value": "setup.exe"
}
]
});