i want to do something like this:
//have the choose a pdf document from their local drive
<html>
<input type="file" ng-model="theInputFile"/>
<button ng-click="submit()"> Submit </button>
</html>
//pass the document to a c# function for parsing
<script>
$scope.submit = function(){
$http.post('Home/GetVendorInfo',
{ "c#Input": $scope.theInputFile})
.success(function (response) {
console.log("send successtul");
});
</script>