title: Uncaught Error: [$injector:cdep] Circular dependency found: $templateRequest <- $animate <- cfpLoadingBar <- $http <- $templateRequest <- $compile
body: <p>I have Problem with my angular JS application I have used nuget to upgrade from AngularJS 1.3.0 Beta to 1.3.16 and it I have the following error: </p>
  
  <blockquote>
    <p>angular.js:4183 Uncaught Error: [$injector:cdep] Circular dependency
    found: $templateRequest &lt;- $animate &lt;- cfpLoadingBar &lt;- $http &lt;-
    $templateRequest &lt;- $compile
    <a href="http://errors.angularjs.org/1.3.16/">http://errors.angularjs.org/1.3.16/</a>$injector/cdep?p0=%24templateRequest%20%…oadingBar%20%3C-%20%24http%20%3C-%20%24templateRequest%20%3C-%20%24compile</p>
  </blockquote>
  
  <p>I tried adding $injector to home controller like this but it didn't resolve the issue. Could someone help me?</p>
  
  <pre><code>(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]);
  
  }());
  </code></pre>