Aaron, the library you are using is not distributed or maintained by Kinvey. I recommend you contact the [creator of the library](https://github.com/ninjatronic/angular-kinvey), and open an issue [there](https://github.com/ninjatronic/angular-kinvey/issues).
Alternatively, you can choose to use the Kinvey AngularJS library available [here](http://devcenter.kinvey.com/angular).
A
Aaron Saunders
said
about 7 years ago
looks like i did not see Kinvey's angularjs library when I started my investigation, will look to migrate to your supported version after initial deliverable
Aaron Saunders
console.log($scope.uploadme);
var fileObj = new $kinvey.File({
_filename: $scope.uploadme.name,
_public: true,
size : $scope.uploadme.size
});
fileObj.$save($scope.uploadme.type).$promise.then(function () {
fileObj.$upload($scope.uploadme, $scope.uploadme.type).$promise
.then(function (_result) {
console.log("$upload: " + JSON.stringify(_result));
_callback(_result);
}, function error(err) {
console.log('[$upload] received error: ' + JSON.stringify(err));
_callback();
});
});
},