|
@@ -48,7 +48,7 @@
|
|
navigator.camera.getPicture(function (imageUri) {
|
|
navigator.camera.getPicture(function (imageUri) {
|
|
// alert(imageUri);
|
|
// alert(imageUri);
|
|
$scope.user.avatar = imageUri;
|
|
$scope.user.avatar = imageUri;
|
|
-
|
|
|
|
|
|
+
|
|
//var uploadOptions = new FileUploadOptions();
|
|
//var uploadOptions = new FileUploadOptions();
|
|
//uploadOptions.fileKey = "avatar";
|
|
//uploadOptions.fileKey = "avatar";
|
|
//alert(uploadOptions);
|
|
//alert(uploadOptions);
|