javascript - AngularJS: How to debug the 'App Already Bootstrapped with this Element' error -


in angularjs app i'm getting follwing error when loading site:

uncaught error: [ng:btstrpd] app bootstrapped element '<html lang="en" ng-app="app" class="ng-scope">' 

i have ng-app set once (in html element in _layout.cshtml (asp.net mvc)) , don't use angular.bootstrap issue mentioned here should not apply. how can debug issue (using f12, firebug, chrome...)?

use following process:

  • download unminified angular source
  • switch script tag reference unminified angular source or setup sourcemap minified code unminified
  • set breakpoint within angular.bootstrap method definition
  • use call stack trace source(s) on call(s)

references


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -