Login Service complete !
This commit is contained in:
parent
0c98543594
commit
3f83cae417
6 changed files with 94 additions and 61 deletions
25
client/js/services/Image.js
Normal file
25
client/js/services/Image.js
Normal file
|
@ -0,0 +1,25 @@
|
|||
|
||||
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
|
||||
};
|
||||
|
||||
|
||||
}]);
|
Loading…
Add table
Add a link
Reference in a new issue