Here is my HTML code:
- class="item form-group">
- ="control-label col-md-3 col-sm-3 col-xs-12" for="Image">
- Upload file
class="col-md-6 col-sm-6 col-xs-12">- "file" id="img" name="img" ng-model="VendorsObject.Image" />
- $scope.manageVendors = function (vendorObject) {
- var createvendor = vendorObject;
- createvendor.UserName = globalValues.userName;
- var data = RMSService.insertVendors(globalValues.token, createvendor).then(function (response) {
- $location.path("home/Vendors");
- }, function (error) {
- console.log(error);
- })
- }


Nilesh PatilRank #1,129 · 1.6K reputationPosted Nov 22, 2017, 7:40 PM EST
Gautam Nagraj29 reputationPosted Dec 19, 2017, 2:41 AM EST