Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/233.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 未捕获错误:[$injector:cdep]找到循环依赖项:$templateRequest<;-$设置动画<;-cfpLoadingBar<;-$http<;-$templateRequest<;-$编译_Javascript_Angularjs_Dependency Injection - Fatal编程技术网

Javascript 未捕获错误:[$injector:cdep]找到循环依赖项:$templateRequest<;-$设置动画<;-cfpLoadingBar<;-$http<;-$templateRequest<;-$编译

Javascript 未捕获错误:[$injector:cdep]找到循环依赖项:$templateRequest<;-$设置动画<;-cfpLoadingBar<;-$http<;-$templateRequest<;-$编译,javascript,angularjs,dependency-injection,Javascript,Angularjs,Dependency Injection,我的AngularJS应用程序有问题,我使用nuget从AngularJS 1.3.0 Beta版升级到1.3.16版,但出现以下错误: angular.js:4183未捕获错误:[$injector:cdep]循环依赖项 发现:$templateRequest我已通过将cfpLoadingBar从v0.3.0升级到v0.8.0来解决问题尝试将app.controller放在var app=。。。。最后是var HomeController。cfpLoadingBar正在使用ngAnimate。

我的AngularJS应用程序有问题,我使用nuget从AngularJS 1.3.0 Beta版升级到1.3.16版,但出现以下错误:

angular.js:4183未捕获错误:[$injector:cdep]循环依赖项
发现:$templateRequest我已通过将cfpLoadingBar从v0.3.0升级到v0.8.0来解决问题

尝试将app.controller放在var app=。。。。最后是var HomeController。
cfpLoadingBar
正在使用
ngAnimate
。1.3在动画方面做了很多工作。这是我要集中精力的地方。
(function () {
    'use strict';

    var app = angular.module('app');

    var HomeController = function ($scope, $location, $injector, authService, userInfoService, homeService) {
       };

    app.controller('HomeController', ['$scope', '$location','$injector','authService', 'userInfoService', 'homeService', HomeController]);

}());