I decided to modularize the html and put some part of it in other html.
<div ng-include="'file.html'"></div>
When I run the application, the file.html file is loaded but in the console I get this error:
10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: []
I don't know what is wrong.
All the error here:
angular.min.js:1 Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: []
http://errors.angularjs.org/1.3.9/$rootScope/infdig?p0=10&p1=%5B%5D
at angular.min.js:1
at l.$digest (angular.min.js:3)
at l.$apply (angular.min.js:3)
at g (angular.min.js:2)
at x (angular.min.js:2)
at XMLHttpRequest.m.onload (angular.min.js:2)
(anonymous) @ angular.min.js:1
$digest @ angular.min.js:3
$apply @ angular.min.js:3
g @ angular.min.js:2
x @ angular.min.js:2
m.onload @ angular.min.js:2