Answer the question
In order to leave comments, you need to log in
Angular and webApi how to send file along with object?
Hello!
At the moment I have:
<div class="form-group">
<div class="col-xs-12 col-sm-4">
<select ng-model="doc.Type" class="form-control">
<option value="">--Тип--</option>
<option ng-repeat="typeDoc in typeOfDocs" value="{{typeDoc.title}}">{{typeDoc.title}}</option>
</select>
</div>
<div class="col-xs-12 col-sm-6">
<div class="form-inline">
<input type="file" file-uploader="myFile" class="form-control"/>
<button ng-click="uploadFile()" class="btn btn-default">Загрузить</button>
</div>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question