I have a hanging wood application (angular full steel generator).
grunt serve works fine, but grunt build creates a distribution that blocks memory, most likely due to circular links in angular.
I updated angular to 1.2.15 . The error I get is:
WARNING: Tried to Load Angular More Than Once
Prior to update error:
Error: 10 $digest() iterations reached. Aborting!
This is quite difficult to debug, as this only happens after assembly / minimization. All my modules are in angular array format, so DI initialization should not be a problem, but it is.
There is no script that calls this. The only way to get away is not to initialize the app.js. My app.js file is below.
Does any thing come to mind?
'use strict'; angular.module('myApp', [ 'ngCookies', 'ngResource', 'ngSanitize', 'ngRoute', 'ngTagsInput', 'ui.bootstrap', 'google-maps', 'firebase' ]); angular.module('myApp').config(['$routeProvider', function ($routeProvider) { $routeProvider .when('/', { templateUrl: 'views/listing.html', controller: 'ListingCtrl' }) .otherwise({ redirectTo: '/' }); }]).constant('FIREBASE_URL', 'something');
javascript angularjs gruntjs
Kyle Mar 23 '14 at 19:26 2014-03-23 ββ19:26
source share