First you have to fetch the variable and bind it to a $scope variable.
camForm.on('form-loaded', function() {
// fetch the variable named 'customerData'
camForm.variableManager.fetchVariable('customerData');
});
camForm.on('variables-fetched', function() {
// after the variables are fetched, bind the value of customerData to a angular
// scope value such that the form can work on it
$scope.customerData = camForm.variableManager.variable('customerData').value;
});
After that you can bind it to a input with the ng-model directive:
You can’t use generated forms or the cam-variable directive, since a Complex Java Object is usually not bound to a single input field. You can read documentation for this on that page.