0

After migration from angular 1.4 to 1.5 'Error: $rootScope:infdig ' is apeared.

There were some usages of ng-init in templates but their removing does not help.

Problems occurs when accordion-group from ui-bootstrap (v.0.13.1) is used after second and next visits of same route template.

Maybe someone encounter same problem with using this version of ui-bootstrap (cannot be updated to higher version for now) or know some known issues related to such problem in angular 1.5

Just to notice that all worked fine in angular v.1.4.10

Update1: I found one possible solution to fix infdig error which helps in one of my cases but not for all.

Under the accordion-group was used custom directive with templateUrl. After replacing templateUrl with template error is disappeared.

Hope this will help somebody

1 Answers1

0

Take a look at infinite digest documentation and debug keeping examples from doc in mind: it is likely you will find where — and why — infinite loop occurs

Evgeniy Chekan
  • 2,615
  • 1
  • 15
  • 23