如何在控制器中传递angularjs $ upload

时间:2014-07-14 11:32:09

标签: angularjs

对于Angularjs中的文件上传 $ upload 正在注入控制器(RegistrationCtrl),但是有多个范围,$ location等被注入其中。然后在向RegistraionCtrl注入$ upload时,我在控制台中获得了一些注入器错误,并且页面加载不正确。

控制器 代码如下:

.controller("registrationCtrl",["$scope","$rootScope","$upload","$location","logger","$http","$q","$modal","$log",function($scope,$rootScope,$upload,$location,logger,$http,$q,$modal,$log){

});

0 个答案:

没有答案