I would recommend more generic approach. First of all if you want to differentiate your inputs by type you need to declare some type checking function in your controller:
$scope.getType = function(x){
return Object.prototype.toString.call(x);
}
You need to do this because it's impossible to do this in the expression - see: How to get a type of scope variable in Angular expression?
Then in your view you can use ng-if directive to show different controls depending on the type of the field. This is example expression for booleans:
ng-if="getType(parameter_list[$index].value) == '[object Boolean]'"
You should also define your booleans correctly, not "true"/"false" but true/false:
{
"title": "differed",
"value": true
}
Finally the code of your example would look as follows.
View:
<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" ng-if="getType(parameter_list[$index].value) != '[object Boolean]'">
<input type="text" ng-model="parameter_list[$index].value" class="form-control">
</div>
<div class="form-group checkbox" ng-if="getType(parameter_list[$index].value) == '[object Boolean]'">
<label><input type="checkbox" ng-model="parameter_list[$index].value">{{ parameter_list[$index].title }} </label>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
Controller:
var mymodal = angular.module('mymodal', []);
mymodal.controller('MainCtrl', function ($scope) {
$scope.getType = function(x){
return Object.prototype.toString.call(x);
}
$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"
}
]
});
Here you can find JSFiddle: http://jsfiddle.net/57qhsqwf/2/