Angular NG Upgrade utknął w nieskończonej pętli z dostawcą singleton

#template

<div ng-app="myApp" ng-controller="myController">

#controller:

var app = angular.module('myApp', [])
  .config(['$locationProvider', function($locationProvider) {
    $locationProvider.hashPrefix('');
  }]);
app.controller('myController',function () {...})
SAMER SAEID