test
This commit is contained in:
parent
3b569b6d00
commit
8ad216dedf
4 changed files with 32 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* @param {$scope} $scope The $scope service from angular
|
||||
*/
|
||||
mainApp.controller('imageCtrl', ['$scope', 'Image', 'Loading', function ($scope, Image, Loading)
|
||||
mainApp.controller('imageCtrl', ['$scope', 'Image', 'Loading',function ($scope, Image, Loading)
|
||||
{
|
||||
var callbackTest=function(){
|
||||
$scope.images=Image.getData().images;
|
||||
|
@ -17,5 +17,9 @@ mainApp.controller('imageCtrl', ['$scope', 'Image', 'Loading', function ($scope,
|
|||
else{
|
||||
callbackTest();
|
||||
}
|
||||
|
||||
$scope.doUpload = function () {
|
||||
Image.uploadImage($scope.myFile,function(){});
|
||||
};
|
||||
|
||||
}]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue