26 lines
375 B
JavaScript
26 lines
375 B
JavaScript
![]() |
|
||
|
mainApp.factory('Image',[ '$http', 'Identity', function($http, Identity){
|
||
|
|
||
|
var httpResponse;
|
||
|
|
||
|
var uploadImage=function(image){
|
||
|
|
||
|
};
|
||
|
|
||
|
var parseUploadImageRequest=function(){
|
||
|
|
||
|
};
|
||
|
|
||
|
var getResponse=function(){
|
||
|
return parseUploadImageRequest(httpResponse);
|
||
|
};
|
||
|
|
||
|
// Return services objects
|
||
|
return {
|
||
|
uploadImage: uploadImage,
|
||
|
getResponse: getResponse
|
||
|
};
|
||
|
|
||
|
|
||
|
}]);
|