In my AngularJS app I'm getting the follwing error when loading my site:
Uncaught Error: [ng:btstrpd] App Already Bootstrapped with this Element '<html lang="en" ng-app="app" class="ng-scope">'
I have ng-app
only set once (in html
element in _Layout.cshtml (ASP.NET MVC)) and I don't use angular.bootstrap
so the issue mentioned here should not apply. How can debug the issue (using F12, Firebug, Chrome...)?
Use the following process:
angular.bootstrap
method definitionReferences
Use a source map - Firefox Developer Tools | MDN
F12 devtools guide: Debugger | Source Maps - Microsoft Edge Development
Map Preprocessed Code to Source Code | Web | Google Developers
Chromium Issue 611328 - Failed to parse SourceMap
evanw/node-source-map-support: Adds source map support to node.js (for stack traces)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With