Angular JS Uncaught Error: [$injector:modulerr]

后端 未结 15 1818
攒了一身酷
攒了一身酷 2020-12-09 01:08

I am having a problem with Angular JS receiving an error : Uncaught Error: [$injector:modulerr]. My JS-file looks

angular.module(\'MyApp\', [\'ngRoute\']);
         


        
15条回答
  •  -上瘾入骨i
    2020-12-09 02:09

    In development I recomend you to use not minified distributives: And all errors become more informative! Instead angular.min.js use angular.js

    
    
                                     
                  
提交回复
热议问题