templateCache
testModual.run(function($templateCache){
????$templateCache.put("hello.html","<div>Hello?everyone!!!!!!</div>");
})
在這里是指把<div>Hello?everyone!!!!!!</div>放在hello.html中了吧,但實際上hello.html不存在的時候也可以get到,這是怎么回事兒
testModual.run(function($templateCache){
????$templateCache.put("hello.html","<div>Hello?everyone!!!!!!</div>");
})
在這里是指把<div>Hello?everyone!!!!!!</div>放在hello.html中了吧,但實際上hello.html不存在的時候也可以get到,這是怎么回事兒
2016-06-23
舉報
2016-06-23
hello.html相當于key,不是html文件
2016-06-24
哦哦,懂了,謝謝