requireJS+angularJS+angular-ui-router环境搭建报错angular.bootstrap is not a function,Module 'myApp' is not

在搭建环境时报错。记录一下 代码结构 main.js文件内容 routeconfig文件 index.html文件 原因:index.html加入ng-app导致会报Module 'myApp' is not a available.           main.js加入angular参数,导致报angular.bootstrap错误 解决办法:去掉index.html中的ng-app,去掉ma
相关文章
相关标签/搜索