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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -