📌  相关文章
📜  angularjs 'angular' 未定义 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:27.583000             🧑  作者: Mango

代码示例1
//AngularJS
//ERROR: 'angular' is not defined

//First possible problem -> check the angular reference on your index.html (IMPORTANT: first the angular reference and then the reference of your .js)



//Second possible problem -> try to add on top of your .js the next line/comment
/*global angular*/