using angular-meteor v 0.9
trying to get a pre-packaged AngularMeteor-SmartAdmin example app to load properly
Getting error:
Error: [ng:btstrpd] App Already Bootstrapped with this Element 'document'
Is there a way to figure out why and where this error occurs?
Here is my meteor listing:
angular:angular-animate 1.4.0 AngularJS (official) release. For full...
angular:angular-cookies 1.4.0 AngularJS (official) release. For full...
angular:angular-resource 1.4.0 AngularJS (official) release. For full...
angular:angular-route 1.4.0 AngularJS (official) release. For full...
angular:angular-sanitize 1.4.0 AngularJS (official) release. For full...
angularui:angular-ui-router 0.2.15 angular-ui-router (official): Flexibl...
angularui:ui-utils 0.2.4 Angular-ui-utils package for meteor.
autopublish 1.0.3 Publish the entire database to all cli...
cfs:http-methods 0.0.29 Adds HTTP.methods RESTful
gsklee:ngstorage 0.3.0 ngStorage package for Meteor
http 1.1.0 Make HTTP calls to remote servers
insecure 1.0.3 Allow all database writes by default
less 1.0.14 The dynamic stylesheet language
meteor-platform 1.2.2 Include a standard set of Meteor packa...
planettraining:angular-translate 2.7.0 Angular Translate
planettraining:angular-translate-loader-static-files 2.7.0 Angular Translate
planettraining:angular-translate-loader-url 2.7.0 Angular Translate
planettraining:angular-translate-storage-cookie 2.7.0 Angular Translate
planettraining:angular-translate-storage-local 2.7.0 Angular Translate
selchenkov:angular-bootstrap-ui 0.0.1 Meteor
urigo:angular 0.9.0
ng-app
directive in the HTML andapp.bootstrap(..)
, could it be ? – Bartolemoangular.bootstrap
, search for.bootstrap
. – Bartolemoconsole.log(module)
in yourangular.forEach
and see which one is the last one that logs before the error shows. That will probably be the one that's bootstrapped twice. If it's not, search for all of yourng-app
declarations and compare. One will be shown twice. – Bartolemo