已采纳回答 / guawa
①JavaScript权威指南 https://pan.baidu.com/s/1OITrJ8hd45Q0lIJayiZQWw lx85②JavaScript 高级程序设计 https://pan.baidu.com/s/1pleV90Cd9sFcn20mKoN1ng fsii ③JavaScript语言精粹 https://pan.baidu.com/s/1LhMnoQCOI089YCQnvLiEUQ ovt7 ④JavaScript模式 https://pan.baidu.com/s/1YcckJ...
2018-09-04
高版本Angular js 不再支持全局function绑定controller,应该用标准写法
(function () {
angular.module("My app",[]).controller("HelloAngular",HelloAngular);
HelloAngular.$inject = [];
function HelloAngular() {
var vm = this;
vm.greeting = {
text: 'hello'
}
}
})();
(function () {
angular.module("My app",[]).controller("HelloAngular",HelloAngular);
HelloAngular.$inject = [];
function HelloAngular() {
var vm = this;
vm.greeting = {
text: 'hello'
}
}
})();
2018-07-16
最新回答 / 慕移动9181930
1.HEAD中的脚本,是可以保证脚本在任何调用之前被加载。ncrnycnzcdurualqxhaevgvwprhtededsbpnkexbeuyupozqgyhetteqiwbyjbvcqguusylhqjmrjvrpbsgunatcxseoffmcso
2018-07-02