Add form inputs to scope.